/* Adjust padding for content areas to bring content closer to margins */
.container grid-lg {
    padding-left: 1rem;
    padding-right: 1rem;
    max-width: 90%;
  }

/* Feature buttons layout */
.feature-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px auto;
    max-width: 900px;
}

.feature-button {
    display: flex;
    justify-content: center;
}

.feature-button a {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 25px 15px;
    border-radius: 10px;
    background-color: #f8f9fa;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: #444;
    text-decoration: none;
    transition: all 0.3s ease;
}

.feature-button a:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    background-color: #fff;
}

.button-icon {
    margin-bottom: 15px;
    color: #0088cc;
}

.button-text {
    font-weight: bold;
    font-size: 1.1rem;
    text-align: center;
}

/* Table Styling */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 1.05rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  overflow: hidden;
}

/* Table headers */
table th {
  background-color: #0088cc;
  color: white;
  font-weight: bold;
  padding: 12px 15px;
  text-align: left;
  border: none;
}

/* Standard table cells */
table td {
  padding: 10px 15px;
  border: none;
  border-bottom: 1px solid #eee;
}

/* Even rows (white) */
table tr:nth-child(even) {
  background-color: #ffffff;
}

/* Odd rows (light blue) */
table tr:nth-child(odd) {
  background-color: #e6f3fa; /* Light blue color - adjust as needed */
}

/* Hover effect for rows */
table tr:hover {
  background-color: #d1ebff;
}

/* Styling for the last row to remove bottom border */
table tr:last-child td {
  border-bottom: none;
}

/* Responsive tables for mobile */
@media (max-width: 768px) {
  table {
    font-size: 0.9rem;
  }
  
  table th, 
  table td {
    padding: 8px 10px;
  }
}

@media (max-width: 768px) {
    .feature-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin: 30px auto;
        max-width: 450px;
        justify-items: center;
    }
    
    .feature-button {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .feature-button a {
        padding: 15px;
        max-width: 200px;
    }
    
    .button-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .feature-buttons {
        grid-template-columns: 1fr;
        max-width: 280px;
        margin: 25px auto;
        justify-items: center;
    }
    
    .feature-button {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .feature-button a {
        width: 100%;
        max-width: 250px;
    }
}

/* Responsive iframe for Google Forms */
.responsive-form-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  padding-top: 800px; /* Fixed height for mobile */
}

.responsive-form {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Media query for larger screens */
@media (min-width: 768px) {
  .responsive-form-container {
      padding-top: 900px; /* Taller height for tablets */
  }
}

/* Media query for extra large screens */
@media (min-width: 1200px) {
  .responsive-form-container {
      padding-top: 950px; /* Taller height for desktops */
  }
}