footer {
        background: linear-gradient(
            135deg, 
            #148088ff 0%, 
            #0f778aff 40%, 
            #219696ff 70%, 
            #8cdef7ff 100%
        );
        color: white;
        text-align: center;
        padding: 30px 20px;
        position: relative;
        background-size: 400% 400%;
        animation: gradientMove 15s ease infinite;
    }

    @keyframes gradientMove {
        0%, 100% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
    }

    footer::before {
      content: '';
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 80%;
      height: 2px;
      background: rgba(255,255,255,0.2);
    }

    .footer-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .footer-content hr {
        width: 80%;
        border: none;
        border-top: 1px solid rgba(255, 255, 255, 0.3);
        margin: 15px auto;
        opacity: 0.8;
    }

    .footer-collaboration {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
        margin-bottom: 10px;
        flex-wrap: wrap;
    }

    .footer-left {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .footer-logo {
        height: 160px;
        width: auto;
        filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
        animation: gentleFloat 4s ease-in-out infinite;
        cursor: pointer;
        transition: transform 0.3s ease;
    }

    .footer-logo:hover {
        transform: scale(1.05);
    }

    @keyframes gentleFloat {
        0%, 100% { transform: translateY(0px); }
        50% { transform: translateY(-5px); }
    }

    .footer-divider {
        width: 2px;
        height: 50px;
        background: rgba(255, 255, 255, 0.4);
        margin: 0 10px;
    }

    .footer-right {
        text-align: right;
    }

    .footer-collaboration-text {
        font-size: 0.95rem;
        font-weight: 500;
        opacity: 0.95;
        letter-spacing: 0.3px;
        margin-bottom: 8px;
    }

    .footer-certificate-link {
        display: inline-block;
        text-decoration: none;
        transition: all 0.3s ease;
        overflow: hidden;
    }

    .footer-certificate-link:hover {
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    }

    .certificate-thumbnail {
        width: 100px;
        height: auto;
        display: block;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .footer-certificate-link:hover .certificate-thumbnail {
        border-color: rgba(255, 255, 255, 0.6);
    }

    footer p {
      margin: 0;
      font-size: 0.9rem;
      opacity: 0.9;
    }

    .certificate-modal {
        display: none;
        position: fixed;
        z-index: 9999;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        animation: fadeIn 0.3s ease;
    }

    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    .certificate-modal-content {
        position: relative;
        margin: auto;
        padding: 20px;
        width: 90%;
        max-width: 900px;
        top: 50%;
        transform: translateY(-50%);
        animation: slideDown 0.4s ease;
    }

    @keyframes slideDown {
        from { 
            opacity: 0;
            transform: translateY(-60%);
        }
        to { 
            opacity: 1;
            transform: translateY(-50%);
        }
    }

    .certificate-image {
        width: 100%;
        border-radius: 10px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    }

    .close-modal {
        position: absolute;
        top: -10px;
        right: -10px;
        color: #fff;
        background: #148088;
        border: none;
        font-size: 35px;
        font-weight: bold;
        cursor: pointer;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }

    .close-modal:hover {
        background: #0d5a60;
        transform: rotate(90deg);
    }

    @media (max-width: 768px) {
        .footer-collaboration {
            flex-direction: column;
            gap: 15px;
        }

        .footer-divider {
            width: 60%;
            height: 2px;
            margin: 5px 0;
        }

        .footer-right {
            text-align: center;
        }

        .footer-logo {
            height: 100px;
        }

        .certificate-modal-content {
            width: 95%;
            padding: 10px;
        }

        .close-modal {
            font-size: 28px;
            width: 40px;
            height: 40px;
        }
    }

    @media (max-width: 576px) {
        .footer-logo {
            height: 100px;
        }
        
        .footer-collaboration-text {
            font-size: 0.85rem;
        }
        
        .certificate-thumbnail {
            width: 100px;
        }
        
        footer p {
            font-size: 0.8rem;
        }
        
        footer {
            padding: 25px 15px;
        }
    }