/* Enhanced Footer Styles */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 100%);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-bg);
    opacity: 0.8;
}

/* Footer Brand */
.footer-brand {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-logo-container {
    width: 50px;
    height: 50px;
    background: var(--gradient-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.3);
}

.footer-logo-container i {
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.footer-brand:hover .footer-logo-container {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(255, 105, 180, 0.4);
}

.footer-brand:hover .footer-logo-container i {
    transform: scale(1.1);
}

.footer-brand h4 {
    margin: 0;
    background: var(--gradient-bg);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    transform: scale(0);
}

.social-link:hover::before {
    transform: scale(1);
}

.social-link i {
    font-size: 1.2rem;
    z-index: 2;
    position: relative;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.social-link:hover i {
    transform: scale(1.2);
}

.social-link.facebook {
    background: linear-gradient(45deg, #3b5998, #4267B2);
}

.social-link.twitter {
    background: linear-gradient(45deg, #1da1f2, #0d8bd9);
}

.social-link.instagram {
    background: linear-gradient(45deg, #e4405f, #fd1d1d, #fcb045);
}

.social-link.linkedin {
    background: linear-gradient(45deg, #0077b5, #005885);
}

/* Footer Titles */
.footer-title {
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-bg);
    border-radius: 1px;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    position: relative;
    padding-left: 1rem;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: var(--primary-pink);
    border-radius: 50%;
    transition: all 0.3s ease;
    opacity: 0;
}

.footer-links a:hover {
    color: white;
    padding-left: 1.5rem;
    transform: translateX(5px);
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateY(-50%) scale(1.5);
}

/* Footer Contact */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.contact-item i {
    color: var(--primary-pink);
    font-size: 1.1rem;
    margin-top: 0.2rem;
    min-width: 20px;
}

.contact-item div {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
}

.contact-item strong {
    color: white;
    display: block;
    margin-bottom: 0.2rem;
}

.contact-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-pink);
}

/* Newsletter Section - Removed */

/* Footer Divider */
.footer-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    margin: 2rem 0 1.5rem;
}

/* Footer Bottom */
.footer-bottom-left,
.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-bottom-right {
    justify-content: flex-end;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary-pink);
}

.footer-bottom-links .separator {
    color: rgba(255, 255, 255, 0.3);
}

/* Certification Badges */
.certification-badges {
    display: flex;
    gap: 1rem;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge-item i {
    color: var(--secondary-cyan);
    font-size: 0.9rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-bg);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 105, 180, 0.4);
}

.back-to-top:active {
    transform: translateY(-2px);
}

/* RESPONSIVE DESIGN */

/* Large tablets and small desktops */
@media (max-width: 1200px) {
    .footer {
        padding: 3.5rem 0 1.5rem;
    }
    
    .newsletter-section {
        padding: 1.5rem;
    }
}

/* Tablets */
@media (max-width: 992px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-brand {
        justify-content: center;
        text-align: center;
        flex-direction: column;
    }
    
    .footer-logo-container {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .newsletter-section {
        text-align: center;
    }
    
    .newsletter-form {
        margin-top: 1rem;
    }
}

/* Mobile landscape and small tablets */
@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    /* Company Info Section */
    .footer-brand {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        margin-bottom: 3rem;
    }
    
    .footer-logo-container {
        margin-right: 0;
        margin-bottom: 1.5rem;
        width: 60px;
        height: 60px;
    }
    
    .footer-logo-container i {
        font-size: 1.8rem;
    }
    
    .footer-brand h4 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .footer-description {
        font-size: 1rem;
        line-height: 1.7;
        max-width: 400px;
        margin: 0 auto 2rem;
        padding: 0 1rem;
    }
    
    .footer-social {
        justify-content: center;
        gap: 1.2rem;
        margin-bottom: 0;
    }
    
    .social-link {
        width: 50px;
        height: 50px;
    }
    
    .social-link i {
        font-size: 1.4rem;
    }
    
    /* Footer Sections */
    .footer-title {
        text-align: center;
        margin-bottom: 1.5rem;
        font-size: 1.2rem;
        position: relative;
        padding-bottom: 0.8rem;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
    }
    
    .footer-links {
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .footer-links li {
        margin-bottom: 1rem;
    }
    
    .footer-links a {
        font-size: 1rem;
        padding: 0.5rem 1rem;
        border-radius: 8px;
        display: inline-block;
        transition: all 0.3s ease;
        min-height: 44px;
        line-height: 1.5;
    }
    
    .footer-links a::before {
        display: none;
    }
    
    .footer-links a:hover {
        background: rgba(255, 105, 180, 0.1);
        transform: translateY(-2px);
        padding-left: 1rem;
    }
    
    /* Contact Section */
    .footer-contact {
        text-align: center;
        margin-bottom: 3rem;
        gap: 1.5rem;
        display: flex;
        flex-direction: column;
    }
    
    .contact-item {
        justify-content: flex-start;
        text-align: left;
        margin-bottom: 1.5rem;
        padding: 1.2rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 12px;
        width: 100%;
        border: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        align-items: flex-start;
        gap: 1rem;
        transition: all 0.3s ease;
    }
    
    .contact-item:hover {
        background: rgba(255, 255, 255, 0.08);
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    
    .contact-item i {
        font-size: 1.4rem;
        color: var(--primary-pink);
        flex-shrink: 0;
        margin-top: 0.2rem;
    }
    
    .contact-item div {
        font-size: 0.95rem;
        line-height: 1.6;
        flex: 1;
    }
    
    .contact-item strong {
        font-size: 1rem;
        margin-bottom: 0.5rem;
        display: block;
        color: white;
    }
    
    /* Footer Bottom */
    .footer-bottom-left,
    .footer-bottom-right {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-bottom-right {
        margin-top: 2rem;
    }
    
    .certification-badges {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .badge-item {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
        border-radius: 20px;
        min-width: 150px;
    }
    
    .copyright {
        font-size: 0.9rem;
        text-align: center;
    }
    
    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .footer-bottom-links a {
        padding: 0.5rem 1rem;
        border-radius: 8px;
        transition: all 0.3s ease;
        font-size: 0.9rem;
    }
    
    .footer-bottom-links a:hover {
        background: rgba(255, 105, 180, 0.1);
    }
    
    .footer-bottom-links .separator {
        display: none;
    }
    
    .back-to-top {
        bottom: 2rem;
        right: 2rem;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Mobile portrait */
@media (max-width: 576px) {
    .footer {
        padding: 2.5rem 0 1.5rem;
    }
    
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    /* Company Info Section */
    .footer-logo-container {
        width: 55px;
        height: 55px;
    }
    
    .footer-logo-container i {
        font-size: 1.6rem;
    }
    
    .footer-brand h4 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .footer-description {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }
    
    .social-link {
        width: 46px;
        height: 46px;
        margin: 0 0.4rem;
    }
    
    .social-link i {
        font-size: 1.3rem;
    }
    
    /* Footer Sections */
    .footer-title {
        font-size: 1.1rem;
        margin-bottom: 1.3rem;
        padding-bottom: 0.7rem;
    }
    
    .footer-title::after {
        width: 35px;
        height: 3px;
    }
    
    .footer-links {
        margin-bottom: 2.5rem;
    }
    
    .footer-links li {
        margin-bottom: 0.8rem;
    }
    
    .footer-links a {
        font-size: 0.95rem;
        padding: 0.7rem 1.2rem;
        min-height: 48px;
        border-radius: 12px;
        display: block;
        margin: 0 auto;
        max-width: 200px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .footer-links a:hover {
        background: rgba(255, 105, 180, 0.15);
        border-color: rgba(255, 105, 180, 0.3);
        transform: translateY(-3px);
        box-shadow: 0 4px 12px rgba(255, 105, 180, 0.2);
    }
    
    /* Contact Section */
    .footer-contact {
        margin-bottom: 2.5rem;
        gap: 1rem;
        display: flex;
        flex-direction: column;
    }
    
    .contact-item {
        justify-content: flex-start;
        text-align: left;
        margin-bottom: 1rem;
        padding: 1.5rem 1.2rem;
        background: rgba(255, 255, 255, 0.08);
        border-radius: 15px;
        width: 100%;
        border: 1px solid rgba(255, 255, 255, 0.15);
        transition: all 0.3s ease;
        display: flex;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .contact-item:hover {
        background: rgba(255, 255, 255, 0.12);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    }
    
    .contact-item i {
        font-size: 1.6rem;
        background: var(--gradient-bg);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        flex-shrink: 0;
        margin-top: 0.2rem;
    }
    
    .contact-item div {
        font-size: 0.9rem;
        line-height: 1.7;
        flex: 1;
    }
    
    .contact-item strong {
        font-size: 1rem;
        margin-bottom: 0.6rem;
        color: white;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        display: block;
    }
    
    .contact-item a {
        color: rgba(255, 255, 255, 0.9);
        text-decoration: none;
        transition: all 0.3s ease;
        font-weight: 500;
    }
    
    .contact-item a:hover {
        color: var(--primary-pink);
        text-decoration: underline;
    }
    
    /* Footer Bottom */
    .footer-divider {
        margin: 2.5rem 0 2rem;
    }
    
    .footer-bottom-left,
    .footer-bottom-right {
        gap: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .footer-bottom-right {
        margin-top: 1.5rem;
    }
    
    .copyright {
        font-size: 0.85rem;
        line-height: 1.5;
        color: rgba(255, 255, 255, 0.7);
    }
    
    .footer-bottom-links {
        gap: 0.8rem;
    }
    
    .footer-bottom-links a {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 15px;
        min-width: 100px;
        text-align: center;
    }
    
    .footer-bottom-links a:hover {
        background: rgba(255, 105, 180, 0.1);
        border-color: rgba(255, 105, 180, 0.3);
        color: var(--primary-pink);
    }
    
    .certification-badges {
        gap: 0.8rem;
        flex-direction: column;
        align-items: center;
    }
    
    .badge-item {
        font-size: 0.85rem;
        padding: 0.8rem 1.5rem;
        min-width: 180px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 25px;
        transition: all 0.3s ease;
    }
    
    .badge-item:hover {
        background: rgba(255, 255, 255, 0.12);
        transform: translateY(-2px);
    }
    
    .badge-item i {
        margin-right: 0.5rem;
        font-size: 1rem;
    }
    
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }
    
    /* Enhanced spacing between sections */
    .footer .row > [class*="col-"] {
        margin-bottom: 2.5rem;
    }
    
    .footer .row:last-child > [class*="col-"] {
        margin-bottom: 0;
    }
}

/* Extra small screens */
@media (max-width: 400px) {
    .footer {
        padding: 2rem 0 1.2rem;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Company Info */
    .footer-logo-container {
        width: 50px;
        height: 50px;
    }
    
    .footer-logo-container i {
        font-size: 1.5rem;
    }
    
    .footer-brand h4 {
        font-size: 1.3rem;
    }
    
    .footer-description {
        font-size: 0.9rem;
        padding: 0 0.25rem;
        margin-bottom: 1.5rem;
    }
    
    .social-link {
        width: 42px;
        height: 42px;
        margin: 0 0.3rem;
    }
    
    .social-link i {
        font-size: 1.2rem;
    }
    
    /* Footer Sections */
    .footer-title {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }
    
    .footer-title::after {
        width: 30px;
    }
    
    .footer-links a {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
        max-width: 180px;
        min-height: 44px;
    }
    
    .footer-links li {
        margin-bottom: 0.7rem;
    }
    
    /* Contact Section */
    .contact-item {
        padding: 1.2rem 1rem;
        margin-bottom: 1rem;
        background: rgba(255, 255, 255, 0.08);
        border-radius: 12px;
        width: 100%;
        border: 1px solid rgba(255, 255, 255, 0.15);
        transition: all 0.3s ease;
        display: flex;
        align-items: flex-start;
        gap: 0.8rem;
    }
    
    .contact-item:hover {
        background: rgba(255, 255, 255, 0.12);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    }
    
    .contact-item i {
        font-size: 1.4rem;
        background: var(--gradient-bg);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        flex-shrink: 0;
        margin-top: 0.1rem;
    }
    
    .contact-item div {
        font-size: 0.85rem;
        line-height: 1.6;
        flex: 1;
    }
    
    .contact-item strong {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
        color: white;
        text-transform: uppercase;
        letter-spacing: 0.3px;
        display: block;
    }
    
    /* Footer Bottom */
    .footer-bottom-links a {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        min-width: 90px;
    }
    
    .badge-item {
        font-size: 0.8rem;
        padding: 0.7rem 1.2rem;
        min-width: 160px;
    }
    
    .badge-item i {
        font-size: 0.9rem;
    }
    
    .copyright {
        font-size: 0.8rem;
    }
    
    .back-to-top {
        width: 44px;
        height: 44px;
        font-size: 1rem;
        bottom: 1rem;
        right: 1rem;
    }
    
    /* Tighter spacing for very small screens */
    .footer .row > [class*="col-"] {
        margin-bottom: 2rem;
    }
}

/* Ultra-small screens (320px and below) */
@media (max-width: 320px) {
    .footer {
        padding: 1.5rem 0 1rem;
    }
    
    .footer-logo-container {
        width: 45px;
        height: 45px;
    }
    
    .footer-logo-container i {
        font-size: 1.3rem;
    }
    
    .footer-brand h4 {
        font-size: 1.2rem;
    }
    
    .footer-description {
        font-size: 0.85rem;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
        margin: 0 0.2rem;
    }
    
    .social-link i {
        font-size: 1.1rem;
    }
    
    .footer-links a {
        max-width: 160px;
        font-size: 0.85rem;
        padding: 0.5rem 0.8rem;
    }
    
    .contact-item {
        padding: 1.2rem 0.8rem;
        max-width: 250px;
    }
    
    .contact-item i {
        font-size: 1.6rem;
    }
    
    .contact-item div {
        font-size: 0.8rem;
    }
    
    .badge-item {
        min-width: 140px;
        padding: 0.6rem 1rem;
        font-size: 0.75rem;
    }
    
    .footer .row > [class*="col-"] {
        margin-bottom: 1.8rem;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .footer {
        background: #000;
        border-top: 2px solid #fff;
    }
    
    .footer-description,
    .footer-links a,
    .contact-item div {
        color: #fff;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .social-link,
    .footer-links a,
    .back-to-top {
        transition: none;
    }
    
    .back-to-top:hover {
        transform: none;
    }
}

/* Performance optimizations */
.footer * {
    will-change: auto;
}

.social-link:hover,
.footer-links a:hover,
.back-to-top:hover {
    will-change: transform;
}