/* Footer Styles */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 20px;
}

/* Dark mode footer - Fully Black */
[data-theme="dark"] .footer {
    background: #000000;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;   /* push to the left */
  text-align: left;
}

.footer-logos {
  display: flex;
  justify-content: flex-start; /* align logos left */
  align-items: left;
  gap: 25px;                  /* spacing between logos */
  margin-bottom: 12px;
}

.footer-logo-img {
  display: block;
  filter: none !important;   /* preserve true colors */
  opacity: 1 !important;
}

.qt-logo {
  height: 100px;  /* keep Qiskit big */
  width: auto;
}

.ibm-logo {
  height: 100px;   /* IBM slightly smaller */
  width: auto;
  transform: scale(0.9);  /* shrink IBM logo to 90% */
  transform-origin: left center; /* keep it aligned neatly */
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    color: white;
}

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

.footer-section h4 {
    font-size: 1.25rem;
    font-weight: 500;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.social-links a:hover {
    background: rgba(59, 130, 246, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

.footer-section p i {
    margin-right: 0.5rem;
    color: var(--secondary-color);
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-logo-img {
        height: 40px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
}
