/* IRS Disclosure Documents Page Specific Styles */

/* Hero Section for Disclosure Page */
.hero-disclosure {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  z-index: 1;
}

/* Override any Bootstrap container padding */
.hero-disclosure .container,
.hero-disclosure .container-fluid {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

/* Hero image styling - full width */
.hero-disclosure .hero-image {
  width: 100%;
  height: 40vh;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(0.7);
  background-color: #090933;
  margin: 0 !important;
  padding: 0 !important;
}

/* Hero content overlay */
.hero-disclosure .hero-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  z-index: 2;
  padding: 2rem;
  background: rgba(9, 9, 51, 0.3);
  margin: 0 !important;
}

/* Disclosure hero text styling */
.hero-disclosure .hero-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  line-height: 1.2;
}

.hero-disclosure .hero-subtitle {
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Content container */
.disclosure-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

/* Page title styling */
.disclosure-page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #090933;
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
}

.disclosure-page-subtitle {
  font-size: 1.1rem;
  color: #6c757d;
  text-align: center;
  margin-bottom: 3rem;
  font-style: italic;
}

.disclosure-page-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(135deg, #090933 0%, #262c83 100%);
  border-radius: 2px;
}

/* Info section styling */
.disclosure-info {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 3rem;
  border-left: 5px solid #090933;
  text-align: center;
}

.disclosure-info h2 {
  color: #090933;
  font-weight: 700;
  margin-bottom: 1rem;
}

.disclosure-info .lead {
  color: #495057;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.disclosure-info .h5 {
  color: #090933;
  font-weight: 600;
  margin-bottom: 0;
}

/* Documents grid */
.documents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* Document card styling */
.document-card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 8px 25px rgba(9, 9, 51, 0.12);
  border: 2px solid rgba(9, 9, 51, 0.1);
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.document-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(9, 9, 51, 0.2);
  border-color: #090933;
}

/* Document card body */
.document-card .card-body {
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

/* Document icon */
.document-icon {
  font-size: 3rem;
  color: #090933;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.document-card:hover .document-icon {
  opacity: 1;
  transform: scale(1.1);
  transition: all 0.3s ease;
}

/* Document title */
.document-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #090933;
  margin-bottom: 1rem;
  line-height: 1.3;
}

/* Document description */
.document-description {
  font-size: 0.95rem;
  color: #6c757d;
  margin-bottom: 1.5rem;
  line-height: 1.5;
  flex-grow: 1;
}

/* Download button */
.download-btn {
  background: linear-gradient(135deg, #090933 0%, #262c83 100%);
  border: none;
  color: white;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  width: 100%;
}

.download-btn:hover {
  background: linear-gradient(135deg, #262c83 0%, #090933 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(9, 9, 51, 0.3);
  color: white;
  text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .disclosure-content {
    padding: 2.5rem 1.5rem;
  }
  
  .hero-disclosure .hero-image {
    height: 35vh;
  }
  
  .hero-disclosure .hero-title {
    font-size: 2.4rem;
  }
  
  .hero-disclosure .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .disclosure-page-title {
    font-size: 2.2rem;
  }
  
  .documents-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }
  
  .document-card .card-body {
    padding: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .disclosure-content {
    padding: 2rem 1rem;
  }
  
  .hero-disclosure .hero-image {
    height: 30vh;
  }
  
  .hero-disclosure .hero-title {
    font-size: 2rem;
  }
  
  .hero-disclosure .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-disclosure .hero-content {
    padding: 1rem;
  }
  
  .disclosure-page-title {
    font-size: 1.9rem;
    margin-bottom: 0.5rem;
  }
  
  .disclosure-page-subtitle {
    margin-bottom: 2rem;
  }
  
  .documents-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .disclosure-info {
    padding: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .disclosure-content {
    padding: 1.5rem 0.5rem;
  }
  
  .hero-disclosure .hero-image {
    height: 25vh;
  }
  
  .hero-disclosure .hero-title {
    font-size: 1.7rem;
  }
  
  .disclosure-page-title {
    font-size: 1.7rem;
  }
  
  .document-card .card-body {
    padding: 1.25rem;
  }
  
  .document-icon {
    font-size: 2.5rem;
  }
}

/* Animation for cards on scroll */
.document-card {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced typography */
.disclosure-content h1,
.disclosure-content h2,
.disclosure-content h3 {
  color: #090933;
}

.disclosure-content p {
  color: #495057;
}