@charset "utf-8";
/* CSS Document */
/* Government Page Specific Styles*/
.gov-content-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 1024px) {
	.gov-content-wrapper{
		margin-top: 5vh;
		position:relative;
		z-index:5;
	}
}

/* Card Grid Layout */
.gov-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 1.5rem 0;
}

/* Government Section Styling */
.gov-section {
  margin-bottom: 2.5rem;
}

.gov-section h2 {
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 0.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #003366;
}

/* Card Styling */
.gov-card {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
}

.gov-card:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.gov-card-header {
  padding: 0 0 1.5rem 0;
}

/* Card Image Styling */
.gov-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
  margin-bottom: 1.25rem;
}

.gov-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gov-card:hover .gov-card-image img {
  transform: scale(1.05);
}

/* Icon, Title, and Text Styling */
.gov-card-icon {
  margin: 0 1.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 50px;
}

.gov-card-icon i {
  font-size: 2rem;
  color: #0066cc;
  transition: all 0.3s ease;
  background-color: rgba(0, 102, 204, 0.1);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gov-card:hover .gov-card-icon i {
  transform: scale(1.1);
  color: #003366;
  background-color: rgba(0, 102, 204, 0.2);
}

.gov-card h3 {
  margin: 0 1.5rem 0.75rem;
  color: #003366;
}

.gov-card-header p {
  margin: 0 1.5rem 1.25rem;
  color: #333;
  line-height: 1.5;
}

/* Button Styling */
.gov-btn {
  display: inline-block;
  background-color: #0066cc;
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-align: center;
  transition: all 0.3s ease;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
  margin-left: 1.5rem;
}

.gov-btn:hover {
  background-color: #003366;
  color: #ffffff;
}

.gov-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 150px;
}

.gov-toggle-btn i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.gov-toggle-btn.active i {
  transform: rotate(180deg);
}

/* Collapsible Content Styling */
.gov-card-content {
  background-color: #f5f7fa;
  padding: 0 1.5rem;
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition: height 0.5s ease, opacity 0.3s ease; padding 0.5s ease;
}

.gov-card-content.active {
  height: auto;
  opacity: 1;
  padding: 1.5rem;
  border-top: 1px solid #e0e0e0;
}

.gov-card-content h4 {
  font-size:1.25rem;	
  color: #003366;
  margin-top: 1rem;
  margin-bottom: 0.2rem;	
}

.gov-card-content h4:first-child {
  margin-top: 0;
}

.gov-card-content ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.gov-card-content a {
  color: #0066cc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.gov-card-content a:hover {
  text-decoration: underline;
  color: #003366;
}

/* Resources Section */
.gov-resources-section {
  margin: 2.5rem 0;
}

.gov-resource-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.gov-resource-link {
  background-color: #ffffff;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  font-weight: 500;
  flex: 1 1 100%;
  text-decoration: none;
  color: #0066cc;
}

.gov-resource-link:hover {
  background-color: #0066cc;
  color: #ffffff;
}

/* Media Queries for Responsive Design */
@media (min-width: 576px) {
  .gov-resource-link {
    flex: 1 1 calc(50% - 1rem);
  }
}

@media (min-width: 768px) {
  .gov-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gov-hero {
    padding: 5rem 0;
  }
  
  .gov-hero h1 {
    font-size: 3rem;
  }
  
  .gov-resource-link {
    flex: 1 1 calc(33.333% - 1rem);
  }
}

@media (min-width: 992px) {
  .gov-card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .gov-hero {
    padding: 6rem 0;
  }
  
  .gov-hero h1 {
    font-size: 3.5rem;
  }
  
  .gov-resource-link {
    flex: 0 1 auto;
  }
}
@media (max-width: 768px) {
  .tooltip-content::after {
    content: "×";
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
  }
}
