/* Make service icons black for Index.php */
.service-icon {
  color: #000;
}
/* Variables */
:root {
  --orange-primary: #ff8c00;
  --orange-secondary: #ffa500;
  --dark-footer: #2c3e50;
}

/* Carousel */
.carousel-item img {
  width: 100%;
  height: 70vh;
  object-fit: cover;
}

.carousel-caption {
  background: rgba(0, 0, 0, 0.6);
  padding: 15px;
  border-radius: 10px;
}

/* Services section */
.services-section {
  background-color: rgba(255, 140, 0, 0.1);
  padding: 60px 0;
}

.service-card {
  background: rgba(255, 255, 255, 0.12); /* transparent glass */
  border-radius: 15px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25); /* deeper soft shadow */
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18); /* subtle glass border */
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  color: #252323; /* keep text visible on dark background */
}

.service-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 19px 50px rgba(0, 0, 0, 0.35); /* stronger depth on hover */
}

.service-icon {
  font-size: 3rem;
  color: var(--orange-primary);
  margin-bottom: 20px;
}

.projects-section {
  padding: 60px 0;
  /* background-color: #032446; */ /* Comment out or remove this line */
  background: white;
}

.project-card {
  background: rgb(226, 222, 222) ; /* dark translucent background */
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5); /* deeper shadow for depth */
  border: 1px solid rgba(17, 1, 1, 0.08); /* subtle glass edge */
  transition: all 0.3s ease;
  height: 100%;
  color: #130000; /* text white for contrast */
}

.project-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

.project-image {
  height: 200px;
  background: linear-gradient(45deg, #ddd, #eee);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
}

.news-sidebar {
  background: white;
  border-radius: 15px;
  padding: 5px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.news-item {
  border-bottom: 1px solid #eee;
  padding: 15px 0;
  transition: all 0.3s ease;
}

.news-item:hover {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 15px 10px;
}

.header-top {
  background-color: #fff;
  padding: 10px 0;
  border-bottom: 2px solid var(--orange-primary);
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-emblem {
  width: 60px;
  height: 60px;
  background: var(--orange-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
}

.organization-title {
  flex: 1;
}

.organization-title h4 {
  margin: 0;
  color: var(--dark-footer);
  font-weight: 700;
}

.organization-title p {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
}

.lang-selector {
  display: flex;
  gap: 10px;
  align-items: center;
}

.lang-selector a {
  text-decoration: none;
  color: #666;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.lang-selector a:hover,
.lang-selector a.active {
  background-color: var(--orange-primary);
  color: white;
}

.btn-orange {
  background-color: var(--orange-primary);
  border-color: var(--orange-primary);
  color: white;
}

.btn-orange:hover {
  background-color: #e07700;
  border-color: #e07700;
  color: white;
}

/* Insert SPRDA icon before common titles */
.organization-title h4::before,
.news-sidebar h4::before,
.projects-section h2::before,
.section-title::before {
  content: '';
  display: inline-block;
  width: 40px;
  height: 40px;
  margin-right: 12px;
  vertical-align: middle;
 
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}

@media (max-width: 576px) {
  .organization-title h4::before,
  .news-sidebar h4::before,
  .projects-section h2::before,
  .section-title::before {
    width: 28px;
    height: 28px;
    margin-right: 8px;
  }
}
