/* ========== Footer Variables ========== */
:root {
    --footer-bg: linear-gradient(135deg, var(--deep-indigo) 0%, var(--royal-purple) 100%);
    --footer-text: #f8f5ff;
    --footer-border: rgba(255,255,255,0.1);
    --footer-link: #d8bfd8;
    --footer-link-hover: #ffffff;
    --footer-accent: #da70d6;
}

body{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ========== Footer Base Styles ========== */
footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 3rem 1rem 1.5rem;
    margin-top: 3rem;
    width: 100%;
    font-size: 0.95rem;
    position: relative;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    text-align: left;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 0.75rem;
    letter-spacing: 0.5px;
    cursor: pointer;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--footer-accent);
    border-radius: 3px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--footer-link);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    font-weight: 500;
}

p {
    color: white;
}

#showMorebtn{
    cursor: pointer;
}

.footer-links a:hover {
    color: var(--footer-link-hover);
    transform: translateX(5px);
}

.footer-links a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
    color: var(--footer-accent);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
}

.social-links a {
    color: white;
    background: rgba(255,255,255,0.15);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-links a:hover {
    background: var(--footer-accent);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 15px rgba(218, 112, 214, 0.4);
}

.contact-info {
    margin-top: 1rem;
    line-height: 1.8;
}

.contact-info i {
    color: var(--footer-accent);
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--footer-border);
    color: var(--footer-link);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
}

/* ========== Decorative Elements ========== */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--medium-purple), var(--blue-violet));
}

/* .disabled-link {
    pointer-events: none;  Disables clicking 
    opacity: 0.5;          Optional: make it look disabled
    cursor: default;        Optional: change cursor 
} */

/* ========== Responsive Styles ========== */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .footer-section {
        text-align: center;
        padding-bottom: 1rem;
    }
    
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links a:hover {
        transform: none;
    }
    
    .social-links {
        justify-content: center;
        margin: 1rem 0;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 2rem 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-section {
        border-bottom: 1px solid var(--footer-border);
        padding-bottom: 1rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .footer-section:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .footer-links li {
        margin-bottom: 0.5rem;
    }
    
    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .footer-bottom {
        font-size: 0.85rem;
        margin-top: 1.5rem;
        padding-top: 1rem;
    }
}

/* Optional: For ultra small phones (under 360px) */
@media (max-width: 360px) {
    footer {
        padding: 1.5rem 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
    
    .footer-section h3 {
        font-size: 1rem;
    }
    
    .footer-links a {
        font-size: 0.85rem;
    }
    
    .social-links a {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
}


.footer-toggle {
    text-align: center;
    margin-top: 1rem;
    display: none; /* hidden by default */

    /* Show only on mobile */
    @media (max-width: 768px) {
        display: block;
    }
}

.footer-toggle button {
    background-color: var(--footer-accent);
    color: #fff;
    border: none;
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.footer-toggle button:hover {
    background-color: #c050c0;
}
