/* Hero Sections */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #1a1a1a 100%);
  overflow: hidden;
  margin-bottom: 0;
}

/* Hero Sections - Keep original background */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("/assets/images/millc_hero.png") center / cover;
  opacity: 0.6;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 30, 50, 0.85) 0%,
    rgba(0, 50, 70, 0.75) 25%,
    rgba(20, 70, 90, 0.65) 50%,
    rgba(30, 90, 110, 0.55) 75%,
    rgba(40, 110, 130, 0.45) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-highlight {
  color: #60a5fa;
  display: block;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin: 0.5rem 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.page-hero {
  padding: 8rem 0 6rem;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  text-align: center;
}

/* Section Backgrounds with better padding */
.section-dark {
  background: #1a1a1a;
  padding: 8rem 0;
}

.section-darker {
  background: #2a2a2a;
  padding: 8rem 0;
}

.section-light {
  background: #f8f9fa;
  color: #333;
  padding: 8rem 0;
}

.section-gradient {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
  padding: 8rem 0;
}

/* Specific section spacing fixes */
.mission {
  padding: 8rem 0;
  background: #2a2a2a;
  margin-top: 0;
}

.stats {
  padding: 8rem 0;
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
}

.careers {
  padding: 8rem 0;
  background: #1a1a1a;
}

.contact-cta {
  padding: 8rem 0;
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
  text-align: center;
}

/* Partners page specific spacing */
.partners-overview {
  padding: 8rem 0;
  background: #1a1a1a;
}

.prime-contractors {
  padding: 8rem 0;
  background: #2a2a2a;
}

.suppliers-section {
  padding: 8rem 0;
  background: #f8f9fa;
  color: #333;
}

.training-partners {
  padding: 8rem 0;
  background: #1a1a1a;
}

.partnership-benefits {
  padding: 8rem 0;
  background: #2a2a2a;
}

.partner-cta {
  padding: 8rem 0;
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
  text-align: center;
}

/* Career Paths */
.careers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.career-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 300px;
  padding-bottom: 4rem;
}

.career-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1e3a8a, #3b82f6, #60a5fa);
}

.career-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
  border-color: #60a5fa;
}

.career-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #60a5fa;
}

/* Career Link Button Style - Updated with SVG arrows */
.career-link {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  color: #60a5fa;
  text-decoration: none;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  transition: all 0.3s ease;
  border-radius: 4px;
  overflow: hidden;
  white-space: nowrap;
  max-width: 24px;
  border: none;
  outline: none;
  box-shadow: none;
  background: transparent;
  padding: 0;
}

.career-link:hover {
  color: #3b82f6;
  background: rgba(96, 165, 250, 0.1);
  transform: translateY(-1px);
  max-width: 160px;
  padding: 0 0.5rem;
  border: none;
  outline: none;
  box-shadow: none;
}

.career-link:focus {
  border: none;
  outline: none;
  box-shadow: none;
}

.career-link::before {
  content: "";
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2360a5fa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7h10v10'/%3E%3Cpath d='m7 17 10-10'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.career-link:hover::before {
  content: attr(data-text) " ";
  background-image: none;
  width: auto;
  height: auto;
  font-size: 0.9rem;
  margin-right: 0.25rem;
}

.career-link:hover::after {
  content: "";
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%233b82f6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  flex-shrink: 0;
  display: block;
}

.career-link::after {
  display: none;
}

/* Featured Articles - Enhanced Layout with Background */
.featured-articles {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

/* Featured Articles - New background */
.featured-articles::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("/assets/images/millc_blog_bkg.png") center / cover;
  opacity: 0.8;
  z-index: 1;
}

.featured-articles::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.2) 0%, rgba(26, 26, 26, 0.1) 50%, rgba(26, 26, 26, 0.2) 100%);
  z-index: 2;
}

.featured-articles .container {
  position: relative;
  z-index: 3;
}

.featured-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.featured-main .featured-article {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  backdrop-filter: blur(10px);
}

.featured-main .featured-article:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
  border-color: #60a5fa;
}

.featured-main .article-image {
  position: relative;
  height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
}

.featured-main .article-image svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-main .article-content {
  padding: 2.5rem;
  position: relative;
  min-height: 200px;
  padding-bottom: 4rem;
}

.featured-main .article-content h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #ffffff;
  line-height: 1.3;
}

.featured-main .article-content p {
  font-size: 1.125rem;
  opacity: 0.8;
  margin-bottom: 2rem;
  line-height: 1.6;
  color: #ffffff;
}

/* Featured Sidebar */
.featured-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  height: 100%;
}

.sidebar-section {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding-bottom: 3.5rem;
  backdrop-filter: blur(10px);
}

.sidebar-section:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.08);
  border-color: #60a5fa;
}

.featured-badge {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  display: inline-block;
  width: fit-content;
}

.sidebar-article h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #ffffff;
  line-height: 1.3;
  flex-grow: 0;
}

.sidebar-article p {
  font-size: 0.95rem;
  opacity: 0.8;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  color: #ffffff;
}

/* Enhanced Read More for Featured Articles - Updated with SVG */
.featured-main .article-content .read-more,
.sidebar-article .read-more {
  position: absolute;
  bottom: 2rem;
  left: 2.5rem;
  color: #60a5fa;
  text-decoration: none;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  transition: all 0.3s ease;
  border-radius: 4px;
  overflow: hidden;
  white-space: nowrap;
  max-width: 24px;
  border: none;
  outline: none;
  box-shadow: none;
}

.sidebar-article .read-more {
  left: 2rem;
  bottom: 2rem;
}

.featured-main .article-content .read-more:hover,
.sidebar-article .read-more:hover {
  color: #3b82f6;
  background: rgba(96, 165, 250, 0.1);
  transform: translateY(-1px);
  max-width: 120px;
  padding: 0 0.5rem;
  border: none;
  outline: none;
  box-shadow: none;
}

.featured-main .article-content .read-more:focus,
.sidebar-article .read-more:focus {
  border: none;
  outline: none;
  box-shadow: none;
}

.featured-main .article-content .read-more::before,
.sidebar-article .read-more::before {
  content: "";
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2360a5fa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7h10v10'/%3E%3Cpath d='m7 17 10-10'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.featured-main .article-content .read-more:hover::before,
.sidebar-article .read-more:hover::before {
  content: "Read More ";
  background-image: none;
  width: auto;
  height: auto;
  font-size: 0.9rem;
  margin-right: 0.25rem;
}

.featured-main .article-content .read-more:hover::after,
.sidebar-article .read-more:hover::after {
  content: "";
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%233b82f6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  flex-shrink: 0;
  display: block;
}

.featured-main .article-content .read-more::after,
.sidebar-article .read-more::after {
  display: none;
}

/* Responsive Design for Featured Articles */
@media (max-width: 1024px) {
  .featured-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .featured-main .article-image {
    height: 300px;
  }

  .featured-main .article-content h2 {
    font-size: 1.75rem;
  }

  .sidebar-section {
    min-height: 220px;
  }
}

@media (max-width: 768px) {
  .featured-sidebar {
    gap: 1.5rem;
  }

  .featured-main .article-content {
    padding: 2rem;
    padding-bottom: 3.5rem;
  }

  .sidebar-section {
    padding: 1.5rem;
    padding-bottom: 3rem;
    min-height: 200px;
  }

  .featured-main .article-content .read-more,
  .sidebar-article .read-more {
    left: 2rem;
    bottom: 1.5rem;
  }

  .featured-main .article-content h2 {
    font-size: 1.5rem;
  }

  .sidebar-article h4 {
    font-size: 1.1rem;
  }
}

.news-grid-section {
  padding: 8rem 0;
  background: #f8f9fa;
  color: #333;
}

/* Custom Dropdown Styling */
.news-filter-section {
  margin-bottom: 3rem;
}

.filter-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.custom-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  color: white;
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 120px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(30, 58, 138, 0.2);
}

.dropdown-toggle:hover {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.dropdown-toggle svg {
  transition: transform 0.3s ease;
  margin-left: 0.5rem;
}

.dropdown-toggle.active svg {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  max-height: 300px;
  overflow-y: auto;
}

.dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 0.75rem 1rem;
  color: #374151;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  border-bottom: 1px solid #f3f4f6;
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  color: white;
}

.dropdown-item.selected {
  background: #f0f9ff;
  color: #1e3a8a;
  font-weight: 500;
}

/* Results Count */
.results-count {
  font-size: 0.9rem;
  color: #6b7280;
  font-weight: 500;
  white-space: nowrap;
}

/* Active Filters */
.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  min-height: 2rem;
}

.filter-tag {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  color: white;
  padding: 0.5rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: fadeInScale 0.3s ease;
}

.filter-tag .remove-filter {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
  transition: background 0.2s ease;
}

.filter-tag .remove-filter:hover {
  background: rgba(255, 255, 255, 0.3);
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.news-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.news-card.hidden {
  display: none;
}

/* News Card Layout - Wide Image on Top */
.news-image {
  position: relative;
  height: 200px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
}

.news-image svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 160px;
  padding-bottom: 3rem; /* Extra space for the arrow */
}

.news-meta {
  margin-bottom: 1rem;
}

.news-date {
  font-size: 0.8rem;
  color: #666;
  font-weight: 500;
}

.news-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #333;
  line-height: 1.3;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: calc(1.3em * 2); /* Exactly 2 lines */
}

.news-content p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
  margin-bottom: 1rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: calc(1.5em * 3); /* Exactly 3 lines */
}

/* Simple Read More Arrow - positioned in bottom left corner with SVG */
.news-content .read-more {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  color: #60a5fa;
  text-decoration: none;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  transition: all 0.3s ease;
  border-radius: 4px;
  overflow: hidden;
  white-space: nowrap;
  max-width: 24px;
  border: none;
  outline: none;
  box-shadow: none;
}

.news-content .read-more:hover {
  color: #3b82f6;
  background: rgba(96, 165, 250, 0.1);
  transform: translateY(-1px);
  max-width: 120px;
  padding: 0 0.5rem;
  border: none;
  outline: none;
  box-shadow: none;
}

.news-content .read-more:focus {
  border: none;
  outline: none;
  box-shadow: none;
}

.news-content .read-more::before {
  content: "";
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2360a5fa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7h10v10'/%3E%3Cpath d='m7 17 10-10'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.news-content .read-more:hover::before {
  content: "Read More ";
  background-image: none;
  width: auto;
  height: auto;
  font-size: 0.9rem;
  margin-right: 0.25rem;
}

.news-content .read-more:hover::after {
  content: "";
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%233b82f6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  flex-shrink: 0;
  display: block;
}

.news-content .read-more::after {
  display: none;
}

/* Partners - Updated to match blog card consistency with SVG */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 2rem;
}

.partner-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 400px;
}

.partner-card.featured {
  border: 2px solid #2e5c8a;
}

.partner-card.featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1e3a8a, #3b82f6, #60a5fa);
  z-index: 2;
}

.partner-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
  border-color: #60a5fa;
}

/* Partner Logo - Full Width at Top */
.partner-logo {
  position: relative;
  width: 100%;
  height: 120px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
}

.partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.partner-logo svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Partner Content */
.partner-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  padding-bottom: 4rem; /* Extra space for the button */
}

.partner-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.partner-content p {
  opacity: 0.8;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  flex: 1;
}

.partner-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

/* Partner Link Button - Consistent with Blog Cards using SVG */
.partner-link {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  color: #60a5fa;
  text-decoration: none;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  transition: all 0.3s ease;
  border-radius: 4px;
  overflow: hidden;
  white-space: nowrap;
  max-width: 24px;
  border: none;
  outline: none;
  box-shadow: none;
}

.partner-link:hover {
  color: #3b82f6;
  background: rgba(96, 165, 250, 0.1);
  transform: translateY(-1px);
  max-width: 120px;
  padding: 0 0.5rem;
  border: none;
  outline: none;
  box-shadow: none;
}

.partner-link:focus {
  border: none;
  outline: none;
  box-shadow: none;
}

.partner-link::before {
  content: "";
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2360a5fa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7h10v10'/%3E%3Cpath d='m7 17 10-10'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.partner-link:hover::before {
  content: "Learn More ";
  background-image: none;
  width: auto;
  height: auto;
  font-size: 0.9rem;
  margin-right: 0.25rem;
}

.partner-link:hover::after {
  content: "";
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%233b82f6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  flex-shrink: 0;
  display: block;
}

.partner-link::after {
  display: none;
}

/* Contact Specific Styles */
.contact-content {
  padding: 8rem 0;
  background: #1a1a1a;
  color: #ffffff;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  color: #ffffff;
}

.contact-info h2 {
  color: #60a5fa;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.contact-info p {
  color: #ffffff;
  font-size: 1.125rem;
  opacity: 0.8;
  margin-bottom: 3rem;
}

.contact-methods {
  margin-bottom: 3rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.method-icon {
  font-size: 2rem;
  color: #60a5fa;
}

.method-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.method-content p {
  color: #ffffff;
  opacity: 0.8;
  margin: 0;
}

.social-connect h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #60a5fa;
}

.social-connect .social-links {
  gap: 1.5rem;
}

.social-link {
  color: #60a5fa;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: #3b82f6;
}

.contact-form-section {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2.5rem;
}

/* Resources */
.resources-content {
  padding: 8rem 0;
  background: #1a1a1a;
}

.resources-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 4rem;
}

.resources-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.resource-link {
  color: #ffffff;
  text-decoration: none;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1.1rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.resource-link:hover {
  color: #60a5fa;
}

/* CTA Sections */
.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Read More Button Style */
.read-more {
  background: transparent;
  color: #2e5c8a;
  padding: 0.5rem 1rem;
  border: 1px solid #2e5c8a;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.read-more:hover {
  background: #2e5c8a;
  color: white;
  transform: translateY(-2px);
  gap: 0.75rem;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  align-items: center;
}

.page-link {
  padding: 0.5rem 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
}

.page-link:hover,
.page-link.active {
  background: #2e5c8a;
  color: white;
  border-color: #2e5c8a;
}

/* Modules page spacing */
.modules-showcase {
  padding: 8rem 0;
  background: #1a1a1a;
}

/* General section spacing */
section {
  margin: 0;
}

/* Specialty Tags */
.specialty-tag {
  background: rgba(96, 165, 250, 0.2);
  color: #60a5fa;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-block;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.program-tag {
  background: rgba(96, 165, 250, 0.2);
  color: #60a5fa;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-block;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

/* Partner and Supplier Locations */
.partner-location {
  font-size: 0.95rem;
  color: #60a5fa;
  font-weight: 500;
  margin-bottom: 1rem;
}

.supplier-location {
  font-size: 0.85rem;
  color: #60a5fa;
  font-weight: 500;
}

@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Suppliers Section - Consistent Styling */
.suppliers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.supplier-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  min-height: 200px;
}

.supplier-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.supplier-logo {
  position: relative;
  height: 80px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  padding: 1rem;
}

.supplier-logo svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.supplier-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.supplier-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

.supplier-content p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
  margin-bottom: 1rem;
  flex: 1;
}

/* Training Partners - Consistent Styling */
.training-partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

.training-partner-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  min-height: 300px;
}

.training-partner-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
  border-color: #60a5fa;
}

.training-partner-logo {
  position: relative;
  width: 100%;
  height: 80px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  padding: 1rem;
}

.training-partner-logo svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.training-partner-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.training-partner-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.training-partner-content p {
  opacity: 0.8;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  flex: 1;
}

.training-programs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
