/* Dark Terminal Footer Styles */
/* Dark Terminal Footer Styles */
.footer {
  position: relative;
  width: 100%;
  background: rgba(5, 5, 5, 0.95);
  color: #fff;
  padding: 3rem 0 1rem;
  margin-top: auto; /* This helps with positioning */
  overflow: hidden;
  border-top: 1px solid rgba(0, 255, 0, 0.3);
  font-family: "Courier New", monospace;
}

/* ... rest of your existing footer.css code ... */

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.footer-left {
    text-align: left;
}

.footer-center {
    text-align: left;
}

.footer-right {
    text-align: left;
}

.footer-title {
    font-family: "Courier New", monospace;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    color: #00ff00;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

.footer-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: #00ff00;
    transition: width 0.5s ease;
}

.footer-section:hover .footer-title::after {
    width: 100px;
}

.footer-description {
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #ccc;
    font-family: "Courier New", monospace;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 4px;
    background: rgba(0, 255, 0, 0.1);
    color: #00ff00;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid rgba(0, 255, 0, 0.3);
    font-family: "Courier New", monospace;
    font-size: 1.5rem;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 20px rgba(0, 255, 0, 0.5);
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
    border-color: #dc2743;
    animation: instagram-glow 1.5s infinite;
}

.social-link.linkedin:hover {
    background: #0077b5;
    color: #fff;
    border-color: #0077b5;
    animation: linkedin-glow 1.5s infinite;
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    color: #ccc;
    font-family: "Courier New", monospace;
}

.contact-info i {
    margin-right: 10px;
    color: #00ff00;
    width: 20px;
}

.college-info {
    margin-top: 1rem;
}

.college-link {
    color: #00ff00;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 1rem;
    display: block;
    transition: all 0.3s ease;
    font-family: "Courier New", monospace;
}

.college-link:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.7);
    transform: translateX(5px);
}

.address-link {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.4;
    display: block;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
    font-family: "Courier New", monospace;
}

.address-link:hover {
    color: #00ff00;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

.footer-bottom {
    border-top: 1px solid rgba(0, 255, 0, 0.2);
    padding-top: 1.5rem;
    margin-top: 2rem;
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
    font-family: "Courier New", monospace;
    text-align: center;
}

/* Terminal-style animations */
.terminal-cursor {
    display: inline-block;
    width: 8px;
    height: 1.2em;
    background: #00ff00;
    margin-left: 2px;
    animation: blink 1s infinite;
    vertical-align: middle;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ff00, transparent);
    animation: scan 4s linear infinite;
    z-index: 1;
}

.matrix-code {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, transparent 30%, rgba(0, 255, 0, 0.03) 50%, transparent 70%);
    animation: matrixFall 8s linear infinite;
    z-index: 1;
}

@keyframes scan {
    0% {
        top: 0;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

@keyframes matrixFall {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100%);
    }
}

/* Typewriter effect for titles */
.typewriter {
    overflow: hidden;
    border-right: 2px solid #00ff00;
    white-space: nowrap;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink-caret {
    from, to {
        border-color: transparent;
    }
    50% {
        border-color: #00ff00;
    }
}

/* Social media glow animations */
@keyframes instagram-glow {
    0% {
        box-shadow: 0 0 10px rgba(220, 39, 67, 0.5);
    }
    25% {
        box-shadow: 0 0 20px rgba(188, 24, 136, 0.6);
    }
    50% {
        box-shadow: 0 0 25px rgba(241, 148, 51, 0.7);
    }
    75% {
        box-shadow: 0 0 20px rgba(204, 35, 102, 0.6);
    }
    100% {
        box-shadow: 0 0 10px rgba(220, 39, 67, 0.5);
    }
}

@keyframes linkedin-glow {
    0% {
        box-shadow: 0 0 10px rgba(0, 119, 181, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 119, 181, 0.8);
    }
    100% {
        box-shadow: 0 0 10px rgba(0, 119, 181, 0.5);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
    }

    .footer-section {
        min-width: 100%;
        margin-bottom: 2rem;
        text-align: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }

    .contact-info p {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-container, .footer-bottom-content {
        padding: 0 1rem;
    }

    .footer-title {
        font-size: 1.2rem;
    }

    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .college-link {
        font-size: 1rem;
    }
}