/* Card background texture */
.card {
  background-image: url('images/paper-texture.webp');
  background-repeat: repeat;
  background-size: auto;
}
  html, body {
    height: 100%;
    margin: 0;
  }

  .page-wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
  }

  main {
    flex: 1;
  }

  footer {
    height: 100px;
  }

body p {
  font-size: 16pt;
}

body {
  background-image: url('images/paper-texture.webp');
  background-repeat: repeat;
  background-size: auto;

}

.hero-section {
  position: relative;
  height: 80vh;
  width: 100%;
  background: url(images/banner.webp) center center / cover no-repeat;
}

.hero-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 80%;
  width: 100%;
  z-index: 0;
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.practice-section {
  
  min-height: 700px;
  background-image: url(images/ships.webp);
  background-repeat: no-repeat;
  pading-top: 100px;
}

.practice-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 0;
}

.practice-section .container {
  position: relative;
  z-index: 1;
}



.about-section {
  position: relative;
  height: 100vh;
  width: 100%;
  background-image: url(images/lighthouse.webp);
  background-repeat: no-repeat;
  padding-top: 100px;
  align-items: center;
  justify-content: center; /* optional: centers horizontally too */

}

.about-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 0;
}

.about-section .container {
  position: relative;
  z-index: 1;
}

.text-dark {
  font-color: #0C4D6B;
}

.nav-link {
  font-size: 16pt;
}

.bg-footer {
  background-color: #0C4D6B;
}

/* Info card styling */

.info-card {
  background: #fff url('images/paper-texture.webp') repeat;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(12,77,107,0.08);
  padding: 2rem 1.5rem;
  margin-bottom: 2rem;
  min-height: 180px;
  animation: fadeIn 0.4s;
  opacity: 0.8;
  position: static;
  width: 100%;
  z-index: auto;
  box-sizing: border-box;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 0.8; transform: translateY(0); }
}

.info-card.d-none {
  display: none !important;
}


.uniform-card h4 {
  margin: 0;
  font-size: 1.1rem;
}

.card-hover:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transform: translateY(-4px) scale(1.03);
}
.uniform-card {
  min-height: 140px;
  height: 140px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s, background 0.2s, border-color 0.2s;
  cursor: pointer;
  background: #fff url('images/paper-texture.webp') repeat;
  border: 1.5px solid #e0e0e0;
}

.uniform-card h4 {
  margin: 0;
  font-size: 1.1rem;
}

.card-hover:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transform: translateY(-4px) scale(1.03);
}

/* Highlight active card with a different color */
.active-card {
  border: 2.5px solid #0C4D6B;
  background: #eaf6fa;
  box-shadow: 0 0 12px rgba(12,77,107,0.15);
}

/* Info panel animation */
#practiceInfoPanel {
  transition: opacity 0.4s, transform 0.4s;
  opacity: 0;
  transform: translateY(20px);
}
#practiceInfoPanel.show {
  opacity: 1;
  transform: translateY(0);
}


/* Highlight active card */
.active-card {
  border: 2px solid #0C4D6B;
  box-shadow: 0 0 12px rgba(12,77,107,0.15);
}

/* Info panel animation */
#practiceInfoPanel {
  transition: opacity 0.4s, transform 0.4s;
  opacity: 0;
  transform: translateY(20px);
}
#practiceInfoPanel.show {
  opacity: 1;
  transform: translateY(0);
}


/* Mediate section background styling */
.mediate-section {
  position: relative;
  min-height: 400px;
  width: 100%;
  margin: 0;
  padding: 0;
}

.mediate-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('images/bridge.webp');

  opacity: 0.6;
  z-index: 0;
}

.mediate-section > * {
  position: relative;
  z-index: 1;
}


/* Contact section styling */
.contact-section {
  display: block;
  width: 100%;
  margin-top: 48px;
  clear: both;
  position: relative;
  z-index: 2;
}
