/* Basic footer styles */
.footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 90%;
    margin: 0 auto;
    padding: 40px 20px;
    background: var(--surface);
    backdrop-filter: blur(15px); /* Glassmorphism effect */
    border: 1px solid var(--border);
    border-radius: 30px; /* Rounded edges */
    position: relative;
    z-index: 10;
    margin-bottom: 3rem;
    transition: all 0.8s ease;
  }
  
  /* Hover effect for footer */
  .footer:hover {
    background: var(--surface-hover);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  }
  
  /* Footer content layout */
  .footer-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 50px; /* Increase space between sections */
    max-width: 1200px; /* Restrict the content width */
    padding: 0 20px;
  }
  
  /* Section for footer-left */
  .footer-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 30%;
  }
  
  .footer-left p {
    color: #fff;
    font-family: 'Arial', sans-serif;
    font-size: 18px;
    margin-bottom: 5px;
    text-align: left;
  }
  
  /* Section for footer-center */
  .footer-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30%;
  }
  
  .footer-center h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase;
  }

  .footer-center h4::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: #3498db;
    margin-top: 0px;
  }
  
  .footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Space between links */
  }
  
  .footer-link {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    padding: 5px 0;
    transition: color 0.3s ease;
  }
  
  .footer-link:hover {
    color: #3498db;
  }
  
  .footer-link p::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background-color: #3498db;
    transition: width 0.3s ease;
  }
  
  .footer-link:hover .footer-link p::after {
    width: 100%;
  }
  
  /* Section for footer-right */
  .footer-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    width: 30%;
  }
  
  .footer-right h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase;
  }

  .footer-right h4::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: #3498db;
    margin-top: 0px;
  }
  
  .social-icons {
    display: flex;
    gap: 20px; /* Space between social icons */
  }
  
  .icon-link {
    font-size: 24px;
    color: #fff;
    transition: transform 0.3s ease, color 0.3s ease;
  }
  
  .icon-link:hover {
    transform: scale(1.2);
    color: #3498db; /* Change color on hover */
  }
  
  .icon {
    width: 30px;
    height: 30px;
  }
  
  /* Footer credits */
  .footer-text {
    color: #fff;
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    margin-top: 20px;
    text-align: center;
    padding: 10px 0;
    border-top: 1px solid var(--secondary);
  }
  
  /* Responsive Styles */
  @media (max-width: 1024px) {
    .footer-content {
      flex-direction: column;
      align-items: center;
      gap: 30px; /* Decrease space between sections on medium screens */
    }
  
    .footer-left,
    .footer-center,
    .footer-right {
      width: 80%; /* Increase section width to be more compact */
    }
  
    .footer-left p {
      font-size: 16px; /* Slightly smaller text */
    }
  
    .footer-center h4,
    .footer-right h4 {
      font-size: 16px; /* Adjust header font size */
    }
  
    .footer-links {
      gap: 8px; /* Reduce gap between links */
    }
  
    .footer-link {
      font-size: 14px; /* Decrease font size for smaller screens */
    }
  
    .social-icons {
      gap: 15px; /* Reduce space between icons */
    }
  
    .icon-link {
      font-size: 20px; /* Reduce icon size for smaller screens */
    }
  
    .footer-text {
      font-size: 12px; /* Reduce text size for smaller screens */
    }
  }
  
  @media (max-width: 768px) {
    .footer-content {
      padding: 0 10px;
    }
  
    .footer-left,
    .footer-center,
    .footer-right {
      width: 100%; /* Stack sections for smaller screens */
      align-items: center;
    }
  
    .footer-center h4,
    .footer-right h4 {
      font-size: 14px; /* Further reduce header size */
    }
  
    .footer-links {
      gap: 5px; /* Even less space between links */
    }
  
    .footer-link {
      font-size: 12px; /* Further decrease font size for links */
    }
  
    .social-icons {
      gap: 12px; /* Tighten icon spacing */
    }
  
    .icon-link {
      font-size: 18px; /* Decrease icon size more */
    }
  
    .footer-text {
      /* font-size: 10px; Small text size for credits */
      font-size: 14px; /* Small text size for credits */
    }
  }
  
  @media (max-width: 480px) {
    .footer-content {
      /* gap: 20px; Decrease space between sections even more */
      gap: 0px; /* Decrease space between sections even more */
    }
  
    .footer-left p,
    .footer-center h4,
    .footer-right h4 {
      font-size: 14px; /* Smaller font size for even smaller screens */
    }
  
    .footer-links {
      gap: 3px; /* Minimal space between links */
    }
  
    .footer-link {
      font-size: 12px; /* Minimal font size */
    }
  
    .social-icons {
      gap: 10px; /* Close spacing between icons */
    }
  
    .icon-link {
      font-size: 16px; /* Smallest icon size */
    }
  
    /* .footer-text {
      font-size: 8px; Very small credits text
    } */
  }
  