.footer {
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 3rem 0 1rem 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.05) 0%, transparent 100%);
    pointer-events: none;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.footer-section {
    text-align: center;
    transition: transform 0.3s ease;
}

.footer-section:hover {
    transform: translateY(-5px);
}

.footer-section h3 {
    color: #ffd700;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    position: relative;
    display: inline-block;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ffd700;
    transition: width 0.3s ease;
}

.footer-section:hover h3::after {
    width: 100%;
}

.footer-section p {
    margin: 0.5rem 0;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.footer-section p:hover {
    color: white;
    transform: translateX(5px);
}

.footer-section p i {
    color: #ffd700;
    width: 20px;
    transition: transform 0.3s ease;
}

.footer-section p:hover i {
    transform: scale(1.2);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: center;
}

.social-link {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #ffd700, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover::before {
    opacity: 0.2;
}

.social-link i {
    font-size: 1.8rem;
    position: relative;
    z-index: 1;
}

.social-link:hover {
    color: #ffd700;
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.vertical-line {
    width: 80%;
    height: 2px;
    background-color: #ffd700;
    margin: 10px auto;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.vertical-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: shine 2s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ffd700, transparent);
}

.footer-bottom p {
    color: #888;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom p:hover {
    color: #ccc;
}

.footer-bottom a {
    color: #ffd700;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer-bottom a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #ffd700;
    transition: width 0.3s ease;
}

.footer-bottom a:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section p {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }
}

.footer-contact-section {
    background: none;
    border-radius: 0;
    box-shadow: none;
    padding: 2rem 1rem;
    margin: 0 0.5rem;
}

.footer-contact-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-contact-section .vertical-line {
    background-color: #4682a9;
    height: 2px;
    width: 100%;
    margin: 0.5rem 0 1.5rem 0;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-align: left;
}

.contact-row i {
    font-size: 1.3rem;
    min-width: 22px;
}

.contact-label {
    font-weight: 600;
    color: #222;
    margin-bottom: 0.2rem;
}

.contact-value {
    color: #222;
    font-size: 1rem;
}

.footer-contact-section .contact-label,
.footer-contact-section .contact-value,
.footer-contact-section .contact-row i {
    color: #fff !important;
}

.footer-contact-section .contact-label {
    font-weight: 600;
}

.footer-contact-section .contact-value {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .footer-contact-section {
        padding: 1.2rem 0.5rem;
        margin: 0;
    }
    .contact-row {
        font-size: 1rem;
        gap: 0.8rem;
    }
    .contact-row i {
        font-size: 1rem;
        min-width: 18px;
    }
}

@keyframes highlightContactEffect {
  0% {
    box-shadow: 0 0 0 0px #ffd700, 0 0 0px 0px #ffd70055;
    background-color: transparent;
  }
  40% {
    box-shadow: 0 0 0 8px #ffd700, 0 0 40px 16px #ffd700aa;
    background-color: #4682a9;
  }
  100% {
    box-shadow: 0 0 0 0px #ffd700, 0 0 0px 0px #ffd70000;
    background-color: transparent;
  }
}

.highlight-contact {
  animation: highlightContactEffect 5s cubic-bezier(.4,0,.2,1) 1;
  border-radius: 20px;
  z-index: 2;
  position: relative;
}

.footer-links .footer-link {
    text-decoration: none;
    color: #ffd700;
    font-weight: 600;
    font-size: 1.08rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    transition: color 0.2s, border-bottom 0.2s;
    border-bottom: 2px solid transparent;
    display: inline-block;
    margin: 0 0.2rem;
}

.footer-links .footer-link:hover {
    color: #fff;
    border-bottom: 2px dashed #fff;
    text-decoration: none;
}