/* Make social icons fill their frame */
.social-icon-fill {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    font-size: 2.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box;
    line-height: 1;
    flex-shrink: 0;
}

.social-link-modern i.fab {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: inherit;
    line-height: 1;
}
/* ===== FOOTER STYLES ===== */

/* Enhanced Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-blue) 0%, #001122 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

/* Footer Waves */
.footer-waves {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(45deg, rgba(102, 204, 255, 0.1), rgba(0, 153, 255, 0.05));
    border-radius: 0 0 50% 50%;
    animation: footerWave 6s ease-in-out infinite;
}

.footer-wave:nth-child(1) {
    animation-delay: 0s;
    opacity: 0.7;
}

.footer-wave:nth-child(2) {
    animation-delay: 2s;
    opacity: 0.5;
}

.footer-wave:nth-child(3) {
    animation-delay: 4s;
    opacity: 0.3;
}

@keyframes footerWave {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

.footer-content {
    position: relative;
    z-index: 1;
    padding: 4rem 0 2rem;
}

.footer-sections {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    margin-bottom: 3rem;
}

/* Brand Section */
.brand-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(102, 204, 255, 0.3);
    animation: logoFloat 3s ease-in-out infinite;
}

.footer-logo-icon i {
    color: var(--white);
    font-size: 1.5rem;
    animation: spin 3s linear infinite;
}

.footer-logo h3 {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.footer-description {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.8;
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social .social-link {
    width: 45px;
    height: 45px;
    background: rgba(102, 204, 255, 0.1);
    border: 1px solid rgba(102, 204, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.footer-social .social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: var(--transition);
    z-index: -1;
}

.footer-social .social-link:hover::before {
    left: 0;
}

.footer-social .social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 25px rgba(102, 204, 255, 0.3);
    border-color: var(--water-cyan);
}

.footer-social .social-link i {
    font-size: 1.2rem;
    transition: var(--transition);
}

/* Footer Sections */
.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--water-cyan);
    margin: 0;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin: 0;
    padding: 0;
}

.footer-link {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    opacity: 0.8;
    position: relative;
    padding-left: 1rem;
}

.footer-link::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--water-cyan);
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--water-cyan);
    opacity: 1;
    transform: translateX(5px);
}

.footer-link:hover::before {
    transform: translateX(3px);
}

/* Contact Section */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    background: rgba(102, 204, 255, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(102, 204, 255, 0.1);
    transition: var(--transition);
}

.contact-item:hover {
    background: rgba(102, 204, 255, 0.1);
    border-color: rgba(102, 204, 255, 0.2);
    transform: translateX(5px);
}

.contact-item i {
    color: var(--water-cyan);
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.contact-item span {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Newsletter Section */
.newsletter-section {
    margin-top: 1.5rem;
}

.newsletter-section h5 {
    font-size: 1.1rem;
    color: var(--water-cyan);
    margin: 0 0 0.5rem 0;
}

.newsletter-section p {
    font-size: 0.9rem;
    opacity: 0.7;
    margin: 0 0 1rem 0;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.newsletter-input-group {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(102, 204, 255, 0.3);
    border-radius: var(--border-radius);
    padding: 0.75rem;
    color: var(--white);
    font-size: 0.9rem;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--water-cyan);
    box-shadow: 0 0 15px rgba(102, 204, 255, 0.3);
}

.newsletter-btn {
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(102, 204, 255, 0.4);
}

.newsletter-btn i {
    font-size: 1rem;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(102, 204, 255, 0.2);
    padding-top: 2rem;
    margin-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-copyright {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-copyright p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

.footer-copyright i {
    color: var(--water-cyan);
    animation: pulse 2s ease-in-out infinite;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.legal-link {
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: var(--transition);
}

.legal-link:hover {
    color: var(--water-cyan);
    opacity: 1;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(102, 204, 255, 0.3);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(102, 204, 255, 0.4);
}

.back-to-top i {
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

/* ===== MODERN FOOTER DESIGN ===== */

/* Modern Footer */
.footer-modern {
    position: relative;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 50, 100, 0.8) 100%);
    color: white;
    overflow: hidden;
    margin-top: 4rem;
}

/* Animated Background */
.footer-bg-modern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.footer-waves-modern {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
}

.wave-modern {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(45deg, rgba(102, 204, 255, 0.1) 0%, rgba(0, 150, 255, 0.05) 100%);
    border-radius: 50% 50% 0 0;
    animation: footerWaveModern 8s ease-in-out infinite;
}

.wave-1-modern {
    animation-delay: 0s;
    opacity: 0.3;
}

.wave-2-modern {
    animation-delay: 2s;
    opacity: 0.2;
}

.wave-3-modern {
    animation-delay: 4s;
    opacity: 0.1;
}

.footer-particles-modern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.particle-modern {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--water-cyan);
    border-radius: 50%;
    animation: particleFloatModern 6s ease-in-out infinite;
}

.particle-modern:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
}

.particle-modern:nth-child(2) {
    left: 30%;
    top: 40%;
    animation-delay: 2s;
}

.particle-modern:nth-child(3) {
    left: 60%;
    top: 30%;
    animation-delay: 4s;
}

.particle-modern:nth-child(4) {
    left: 80%;
    top: 50%;
    animation-delay: 1s;
}

.particle-modern:nth-child(5) {
    left: 90%;
    top: 25%;
    animation-delay: 3s;
}

/* Main Footer Content */
.footer-content-modern {
    position: relative;
    z-index: 2;
    padding: 4rem 0 2rem;
}

/* Top Section */
.footer-top-modern {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand-modern {
    max-width: 400px;
}

.brand-logo-modern {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.logo-icon-modern {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--water-cyan) 0%, var(--primary-blue) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 8px 20px rgba(102, 204, 255, 0.3);
    position: relative;
    z-index: 1;
    animation: logoPulseModern 3s ease-in-out infinite;
}

.logo-icon-modern i {
    display: block;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 191, 255, 0.5);
    animation: waterDrop 2s ease-in-out infinite;
}

@keyframes waterDrop {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.9;
    }
}

.logo-text-modern h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, var(--water-cyan) 0%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text-modern span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.brand-description-modern {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.social-links-modern {
    display: flex;
    gap: 1rem;
}

.social-link-modern {
    position: relative;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--water-cyan);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link-modern:hover {
    transform: translateY(-5px) scale(1.1);
    background: rgba(102, 204, 255, 0.2);
    box-shadow: 0 10px 25px rgba(102, 204, 255, 0.4);
}

.social-tooltip {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.social-tooltip::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid rgba(0, 0, 0, 0.9);
}

.social-link-modern:hover .social-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Footer Sections */
.footer-sections-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-section-modern {
    padding: 1rem;
}

.section-title-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--water-cyan);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(102, 204, 255, 0.3);
}

.section-title-modern i {
    font-size: 1rem;
}

.footer-links-modern {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-modern li {
    margin-bottom: 0.8rem;
}

.footer-link-modern {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-link-modern::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--water-cyan);
    transition: width 0.3s ease;
}

.footer-link-modern:hover {
    color: var(--water-cyan);
    transform: translateX(5px);
}

.footer-link-modern:hover::before {
    width: 100%;
}

/* Contact Info */
.contact-info-modern {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item-modern {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item-modern:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
    border-color: rgba(102, 204, 255, 0.3);
}

.contact-item-modern i {
    color: var(--water-cyan);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.contact-item-modern span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Newsletter Section */
.newsletter-section-modern {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.newsletter-section-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 204, 255, 0.1), transparent);
    animation: newsletterShimmer 3s ease-in-out infinite;
}

.newsletter-content-modern {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.newsletter-text-modern h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--water-cyan);
    margin-bottom: 0.5rem;
}

.newsletter-text-modern p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.newsletter-form-modern {
    min-width: 300px;
}

.input-group-modern {
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.newsletter-input-modern {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
    outline: none;
}

.newsletter-input-modern::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-btn-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--water-cyan) 0%, var(--primary-blue) 100%);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 204, 255, 0.4);
}

.newsletter-success-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4CAF50;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.newsletter-success-modern.hidden {
    display: none;
}

/* Bottom Section */
.footer-bottom-modern {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.footer-bottom-content-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright-modern p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.9rem;
}

.copyright-details-modern {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.copyright-details-modern i {
    color: #ff6b6b;
    margin: 0 0.2rem;
}

.footer-legal-modern {
    display: flex;
    gap: 2rem;
}

.legal-links-modern {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.legal-link-modern {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

.legal-link-modern:hover {
    color: var(--water-cyan);
    transform: translateY(-2px);
}

.legal-separator {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 0.5rem;
}

/* Back to Top Button Modern */
.back-to-top-modern {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--water-cyan) 0%, var(--primary-blue) 100%);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 1000;
    box-shadow: 0 8px 25px rgba(102, 204, 255, 0.3);
}

.back-to-top-modern.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-modern:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 35px rgba(102, 204, 255, 0.5);
}

.back-to-top-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.back-to-top-modern:hover .back-to-top-ripple {
    width: 100%;
    height: 100%;
}

/* Floating Elements */
.footer-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-bubble-modern {
    position: absolute;
    background: rgba(102, 204, 255, 0.1);
    border-radius: 50%;
    animation: bubbleFloatModern 8s ease-in-out infinite;
}

.bubble-1 {
    width: 20px;
    height: 20px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.bubble-2 {
    width: 15px;
    height: 15px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.bubble-3 {
    width: 25px;
    height: 25px;
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.bubble-4 {
    width: 12px;
    height: 12px;
    top: 40%;
    right: 30%;
    animation-delay: 6s;
}

/* Footer Animations */
@keyframes footerWaveModern {
    0%, 100% {
        transform: translateX(0) scaleY(1);
    }
    50% {
        transform: translateX(-25%) scaleY(1.1);
    }
}

@keyframes particleFloatModern {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) scale(1.2);
        opacity: 1;
    }
}

@keyframes logoPulseModern {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 20px rgba(102, 204, 255, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 30px rgba(102, 204, 255, 0.5);
    }
}

@keyframes newsletterShimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes bubbleFloatModern {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
    }
}

/* ===== MOBILE RESPONSIVENESS ===== */

/* Mobile Styles - Footer */
@media (max-width: 768px) {
    /* Footer sections stack on mobile */
    .footer-sections {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .brand-section {
        text-align: center;
    }

    .footer-content {
        padding: 3rem 0 1.5rem;
    }

    /* Footer logo adjustments */
    .footer-logo {
        justify-content: center;
        flex-direction: column;
        text-align: center;
    }

    .footer-logo h3 {
        font-size: 1.5rem;
    }

    .footer-social {
        justify-content: center;
    }

    /* Footer links adjustments */
    .footer-link {
        padding-left: 0.75rem;
    }

    /* Footer bottom adjustments */
    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 0 1rem;
    }

    .footer-legal {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    /* Modern footer mobile adjustments */
    .footer-top-modern {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-brand-modern {
        max-width: 100%;
        text-align: center;
    }

    .brand-logo-modern {
        justify-content: center;
    }

    .social-links-modern {
        justify-content: center;
    }

    .footer-sections-modern {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .newsletter-content-modern {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .newsletter-form-modern {
        min-width: 100%;
    }

    .footer-bottom-content-modern {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .legal-links-modern {
        justify-content: center;
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .legal-separator {
        display: none;
    }

    .legal-link-modern {
        padding: 0.3rem 0.5rem;
        font-size: 0.85rem;
    }

    .footer-legal-modern {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    /* Back to top button adjustments */
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 1.5rem;
        right: 1.5rem;
        font-size: 1rem;
    }

    .back-to-top-modern {
        width: 50px;
        height: 50px;
        bottom: 1.5rem;
        right: 1.5rem;
        font-size: 1rem;
    }

    /* Footer copyright adjustments */
    .footer-copyright {
        justify-content: center;
    }

    .copyright-modern {
        text-align: center;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .footer-sections {
        gap: 1.5rem;
        padding: 0 0.75rem;
    }

    .footer-content {
        padding: 2rem 0 1rem;
    }

    .footer-logo h3 {
        font-size: 1.3rem;
    }

    .footer-title {
        font-size: 1.1rem;
    }

    .footer-description {
        font-size: 0.9rem;
    }

    .footer-bottom-content {
        padding: 0 0.75rem;
    }

    .footer-sections-modern {
        gap: 1.5rem;
    }

    .newsletter-section-modern {
        padding: 1.5rem;
    }

    .newsletter-text-modern h4 {
        font-size: 1.2rem;
    }

    .section-title-modern {
        font-size: 1.1rem;
    }

    .back-to-top,
    .back-to-top-modern {
        width: 40px;
        height: 40px;
        bottom: 1rem;
        right: 1rem;
        font-size: 0.9rem;
    }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .footer-sections {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .brand-section {
        grid-column: 1 / -1;
    }

    .footer-top-modern {
        grid-template-columns: 1fr 1.5fr;
        gap: 3rem;
    }

    .footer-sections-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .newsletter-content-modern {
        grid-template-columns: 1fr auto;
        gap: 1.5rem;
    }
}

/* Large Screen Enhancements */
@media (min-width: 1200px) {
    .footer-sections {
        gap: 4rem;
        padding: 0 3rem;
    }

    .footer-bottom-content {
        padding: 0 3rem;
    }

    .footer-top-modern {
        gap: 5rem;
    }

    .footer-sections-modern {
        gap: 3rem;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .footer-logo-icon,
    .logo-icon-modern,
    .back-to-top,
    .back-to-top-modern {
        border: 0.5px solid rgba(102, 204, 255, 0.3);
    }
}

/* Print Styles */
@media print {
    .footer,
    .footer-modern,
    .back-to-top,
    .back-to-top-modern {
        display: none !important;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .footer-logo-icon,
    .footer-logo-icon i,
    .logo-icon-modern i,
    .back-to-top i {
        animation: none;
    }

    .footer-link:hover,
    .contact-item:hover,
    .social-link:hover,
    .social-link-modern:hover,
    .back-to-top:hover,
    .back-to-top-modern:hover {
        transform: none;
    }

    .footer-wave,
    .wave-modern,
    .particle-modern,
    .floating-bubble-modern {
        animation: none;
    }
}

