
/* Get INVOLVED Page CSS DOwnwards*/

/* Get Involved Page Styles */
.get-involved-hero {
    background-image: url('mdfagm7.JPG');
    background-size: cover;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 1rem;
}

.get-involved-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.get-involved-hero p {
    font-size: 1.5rem;
}

.opportunities{
    align-items: center;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.opportunities h2{
    color: navy;
}

.opportunities p{
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.5rem;

}

.opportunities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.opportunity-card {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.opportunity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.opportunity-card h3 {
    color: #003366;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.opportunity-card p {
    font-size: 1.5rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 1.5rem;
}

.cta-section {
    background: #003366;
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background: #FFD700;
    color: #003366;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #e6b800;
}

.footer-bottom{
    margin-bottom: 0%;
    height: 300px;
}

.container h2{
    text-align: center;
}


/* Latest News Section */
/* Latest News Section */
.latest-news {
    padding: 3rem 1rem;
    background-color: #f9f9f9;
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .section-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: #333;
  }
  
  .news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
  }
  
  .news-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }
  
  .news-card:hover {
    transform: translateY(-5px);
  }
  
  .news-image {
    height: 200px;
    overflow: hidden;
  }
  
  .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }
  
  .news-card:hover .news-image img {
    transform: scale(1.05);
  }
  
  .news-content {
    padding: 1.5rem;
  }
  
  .news-date {
    display: block;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }
  
  .news-content h3 {
    margin: 0 0 1rem;
    font-size: 1.25rem;
    color: #222;
  }
  
  .news-content p {
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.5;
  }
  
  .read-more {
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
  }
  
  .read-more:hover {
    text-decoration: underline;
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .news-grid {
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .section-title {
      font-size: 1.75rem;
    }
  }
  
  @media (max-width: 480px) {
    .news-grid {
      grid-template-columns: 1fr;
    }
    
    .section-title {
      font-size: 1.5rem;
    }
    
    .news-card {
      margin-bottom: 1.5rem;
    }
  }


  /* Google Form Container Styles */
.google-form-container {
    width: 100%;
    height: 100%;
    min-height: 700px; /* Minimum height for the form */
    overflow: hidden;
    position: relative;
  }
  
  .responsive-google-form {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
  }
  
  /* Adjust the slide-in form container */
  .mdf-slide-in-form {
    width: 90%;
    max-width: 900px; /* Increased max-width */
    height: 90vh;
    padding: 20px;
    box-sizing: border-box; /* Include padding in height calculation */
  }
  
  /* Mobile responsiveness */
  @media (max-width: 768px) {
    .mdf-slide-in-form {
      width: 95%;
      height: 95vh;
    }
    
    .google-form-container {
      min-height: 500px;
    }
  }
  
  @media (max-width: 480px) {
    .mdf-slide-in-form {
      width: 100%;
      height: 100vh;
      border-radius: 0;
    }
    
    /* Force Google Form mobile layout */
    .responsive-google-form {
      width: 100%;
      height: 100%;
      transform: scale(1);
      transform-origin: top left;
    }
  }


  