:root {
  --color_net: #0056b3;
  --color_net_dark: #003d7a;
  --accent-color: #007bff;
  --text-overlay: rgba(255,255,255,0.95);
  --shadow-light: rgba(0,0,0,0.1);
  --shadow-medium: rgba(0,0,0,0.15);
  --shadow-strong: rgba(0,0,0,0.25);
}

section.ww-full {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
}

section.ww-full img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: brightness(0.8) contrast(1.1);
}

section.ww-full::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg, 
    rgba(0,0,0,0.4) 0%, 
    rgba(0,0,0,0.25) 50%, 
    rgba(0,0,0,0.35) 100%
  );
  z-index: -1;
}

.content-card {
  background-color: var(--text-overlay);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 
    0 15px 35px var(--shadow-medium),
    0 5px 15px var(--shadow-light);
  color: #333;
  max-width: 850px;
  width: min(92vw, 850px);
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-card:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 25px 50px var(--shadow-medium),
    0 10px 25px var(--shadow-light);
}

.content-card .section-title,
.content-card h1 {
  color: var(--color_net_dark);
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.content-card h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.content-card .section-title {
  font-size: 2rem;
}

.section-divider {
  height: 4px;
  width: 100px;
  background: linear-gradient(90deg, 
    var(--accent-color) 0%, 
    var(--color_net) 100%
  );
  margin: 1rem auto 2rem;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0,123,255,0.3);
}

.content-card p {
  text-align: justify;
  hyphens: auto;
  font-size: 1.25rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 2rem;
}

.content-card .btn,
.content-card .btn-primary,
.content-card .btn-outline-primary,
.resource-card .btn,
.resource-card .btn-primary,
.resource-card .btn-outline-primary {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.btn-outline-primary {
  border: 2px solid var(--color_net);
  color: var(--color_net);
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--color_net);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,86,179,0.3);
}

.btn-outline-secondary {
  border: 2px solid #6c757d;
  color: #6c757d;
  background: transparent;
  cursor: not-allowed;
}

.cards-section {
  background: linear-gradient(135deg, #f7f9fb 0%, #e9ecef 100%);
  padding: 4rem 0 2rem;
  margin-bottom: 0;
}

.cards-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.cards-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  align-items: stretch;
  margin: 2rem 0;
  margin-bottom: 2rem;
}

.resource-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  flex: 0 0 calc(33.333% - 2.5rem);
  max-width: calc(33.333% - 2.5rem);
  min-width: 300px;
}

.resource-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.resource-card:hover .card-image img {
  transform: scale(1.1);
}

.card-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.card-content .section-title {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.card-content .section-divider {
  width: 60px;
  height: 3px;
  margin: 0.5rem auto 1.5rem;
}

.card-content p {
  flex-grow: 1;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
}

.card-content .btn {
  margin-top: auto;
}

@media (max-width: 992px) {
  .content-card { 
    padding: 2.5rem; 
  }
  .content-card h1 {
    font-size: 2.2rem;
  }
  .content-card .section-title {
    font-size: 1.8rem;
  }
  .resource-card {
    flex: 0 0 calc(50% - 2.5rem);
    max-width: calc(50% - 2.5rem);
  }
}

@media (max-width: 768px) {
  .content-card { 
    padding: 2rem;
    border-radius: 16px;
  }
  .content-card p { 
    font-size: 1.15rem; 
    line-height: 1.6; 
  }
  .content-card h1 {
    font-size: 2rem;
  }
  .content-card .section-title {
    font-size: 1.6rem;
  }
  .content-card .btn-primary, .content-card .btn-outline-primary,
  .resource-card .btn-primary, .resource-card .btn-outline-primary {
    padding: 0.9rem 2rem;
    font-size: 1rem;
  }
  .resource-card {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .content-card { 
    padding: 1.5rem;
    border-radius: 12px;
  }
  .content-card p { 
    font-size: 1rem; 
    line-height: 1.5; 
    text-align: left; 
  }
  .content-card h1 {
    font-size: 1.8rem;
  }
  .content-card .section-title {
    font-size: 1.4rem;
  }
  .section-divider {
    width: 80px;
    margin: 0.8rem auto 1.5rem;
  }
  .content-card .btn-primary, .content-card .btn-outline-primary,
  .resource-card .btn-primary, .resource-card .btn-outline-primary {
    padding: 0.8rem 1.8rem;
    font-size: 0.95rem;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.content-card {
  animation: fadeInUp 0.8s ease-out;
}

footer {
  margin-top: 2rem;
}