/* css/footer.css */

/* ===============================
   Footer Container
   =============================== */
   .footer {
    position: relative;
    display: flex;            /* Flex container for vertical centering */
    align-items: center;
    background-color: #fff;   /* White background */
    color: #333;              /* Dark text on white */
    min-height: 300px;        /* Ensures the footer is at least 300px tall */
    overflow: hidden;
  }
  
  /* Background video behind the entire footer */
  .footer-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
  }
  
  .footer-video {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    opacity: 0.3;
  }
  
  /* 
     Main Footer Content Container 
     Using a 3-column grid (left, center, right) for desktop 
  */
  .footer-content {
    position: relative;
    z-index: 2;
    max-width: 60%; 
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    text-align: center;
    width: 100%;
  }
  
  /* Left side: contact email */
  .footer-left {
    justify-self: start;
    text-align: left;
    margin-left: 1rem;
  }
  
  .footer-left a {
    font-size: 2rem;
    color: #0d47a1;
    text-decoration: none;
  }
  
  /* Center side: optional center video + text */
  .footer-center {
    position: relative; 
    justify-self: center;
    text-align: center;
  }
  
  /* Video wrapper for the center section */
  .footer-center-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
  
    /* Center the video inside this wrapper */
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Scale up the video so it appears larger while still fully visible */
  .footer-center-video {
    object-fit: contain;  
    max-width: 100%;
    max-height: 100%;
    opacity: 0.3;  
    transform: scale(1.5); /* Increase scale on desktop */
    transform-origin: center;
  }
  
  /* Content overlay for center section */
  .footer-center-content {
    position: relative;
    z-index: 1;
    padding: 1rem;
  }
  
  .footer-center h2 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #333;
  }
  
  /* Right side: © text or similar */
  .footer-right {
    justify-self: end;
    text-align: right;
    margin-right: 1rem;
  }
  
  .footer-right p {
    margin: 0;
    font-size: 2rem;
    color: #555;
  }
  
  /* ===============================
     General Link & Social Icons
     =============================== */
  .footer-content a {
    color: #0d47a1;
    text-decoration: none;
  }
  
  .footer-content a:hover {
    text-decoration: underline;
  }
  
  .footer-social {
    margin-top: 0.5rem;
  }
  
  .footer-social a {
    display: inline-block;
    margin: 0 0.5rem;
  }
  
  .footer-social img {
    height: 30px;
  }
  
  /* ===============================
     Responsive / Mobile
     =============================== */
  @media (max-width: 768px) {
    /* 
       Stack the 3 columns vertically 
       (1 column layout), 
       center everything 
    */
    .footer-content {
      max-width: 90%;   /* reduce the max-width so it fits on mobile */
      grid-template-columns: 1fr; 
      row-gap: 1rem;    /* space between stacked items */
      text-align: center;
      padding: 1rem;
    }
  
    /* Left side goes on top */
    .footer-left {
      justify-self: center;
      margin-left: 0; /* remove left margin for mobile */
    }
  
    .footer-left a {
      font-size: 1.2rem; /* slightly smaller text on mobile */
    }
  
    /* Center section (video + text) in the middle */
    .footer-center {
      position: relative;
      justify-self: center;
      text-align: center;
      margin: 0 auto;
      padding: 1rem 0;
    }
  
    /* Optionally scale the center video down for mobile */
    .footer-center-video {
      transform: scale(1.0); /* reduce scale so it doesn't overflow */
    }
  
    /* Right side goes last, centered as well */
    .footer-right {
      justify-self: center;
      margin-right: 0;
    }
  
    .footer-right p {
      font-size: 1.2rem;
    }
  
    /* Possibly reduce min-height if it looks too tall on mobile */
    .footer {
      min-height: 200px;
    }
  }
  
  /* ===============================
     Toast Notification Styles
     =============================== */
  .toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
  }
  
  .toast-message {
    background-color: #333;
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    opacity: 0;
    animation: toastFadeIn 0.3s forwards;
    font-size: 0.9rem;
    max-width: 250px;
  }
  
  .toast-message.fade-out {
    animation: toastFadeOut 0.5s forwards;
  }
  
  @keyframes toastFadeIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes toastFadeOut {
    from {
      opacity: 1;
      transform: translateY(0);
    }
    to {
      opacity: 0;
      transform: translateY(20px);
    }
  }
  