body {
    background-color: #f8f9fa;
}

.nav-bar a.active {
    background-color: rgba(255, 255, 250, 0.15);
    font-weight: bold;
}

.apps-hero {
    background: linear-gradient(135deg, rgba(0, 43, 92, 0.95), rgba(0, 61, 122, 0.9)), url('../digital_channels_banner.png');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.apps-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.apps-hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.apps-hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button.primary {
    background: #00c4cc;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 196, 204, 0.3);
}

.cta-button.primary:hover {
    background: #00a3ad;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 196, 204, 0.4);
}

.apps-grid-section {
    padding: 60px 20px;
}

.apps-grid-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.app-card {
    background-color: #002b5c;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    color: white;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.app-card-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.app-card:hover .app-card-background {
    opacity: 0.3;
    transform: scale(1.05);
}

.app-card-content {
    position: relative;
    z-index: 2;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-grow: 1;
}

.app-logo {
    max-height: 50px;
    width: auto;
    max-width: 150px;
    margin-bottom: 20px;
    object-fit: contain;
}

.app-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.app-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    flex-grow: 1;
}

.app-card-button {
    background-color: #00c4cc;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    align-self: stretch; 
}

.app-card-button:hover {
    background-color: #00a3ad;
    color: white;
}

.apps-section {
  padding: 80px 10rem;
  background-color: #f8f9fa;
  text-align: center;
  gap: 40px;
  display: flex;
  flex-direction: column;
}

.apps-heading {
  margin-top: 25px;
  margin-bottom: 15px;
  color: #002b5c;
  font-size: 1.2em;
  font-weight: 600;
  text-align: left;
}

.apps-section-header {
  max-width: none;
  text-align: left;
}
.apps-title {
  font-size: 1.4em;
  font-weight: 400;
  color: #000;
  margin-bottom: 12px;
}

.apps-subtitle {
  font-size: 0.9em;
  line-height: 1.6;
  color: #6c757d;
  margin-bottom: 0;
}

.apps-block {
  background-color: #fff;
  border-radius: 15px;
  padding: 40px;
}

.apps-block-title {
  font-size: 1.5em;
  font-weight: 500;
  margin-bottom: 40px;
}

.apps-block-title-highlight {
  color: #00c4cc;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 30px;
  justify-items: center;
  align-items: start;
}

.app-item { background: #fff; border-radius:10px; padding:12px; display:flex; flex-direction:column; align-items:center; gap:8px; box-shadow:0 6px 18px rgba(2,6,23,0.04); text-align:center; }
.app-icon { height:56px; width:auto; max-width:100%; object-fit:contain; border-radius:8px; }
.app-name { font-size:0.9rem; color:#233b66; font-weight:600; display:block; word-break:break-word; }

@media (max-width: 992px) {
  .apps-grid {
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 20px;
  }
  .apps-title {
    font-size: 1.5em;
    text-align: left;
  }
  .apps-subtitle {
    font-size: 0.8em;
    text-align: left;
  }
  .apps-block {
    padding: 30px 15px;
  }
  .apps-block-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .apps-section {
    padding: 50px 15px;
  }
  .apps-section-header {
    text-align: left;
  }
  .apps-title {
    font-size: 1.2em;
    text-align: left;
  }
  .apps-subtitle {
    font-size: 0.7em;
    text-align: left;
  }
  .apps-block {
    padding: 30px 15px;
  }
  .apps-block-title {
    font-size: 1.5em;
  }
  .apps-grid {
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .apps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}