/* Hero Title Section */
.org-hero {
  text-align: center;
  padding: 50px 20px 40px;
  background: linear-gradient(135deg, #003366 0%, #0056b3 100%);
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.org-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: movePattern 20s linear infinite;
  opacity: 0.3;
}

@keyframes movePattern {
  from { transform: translate(0, 0); }
  to { transform: translate(50px, 50px); }
}

.org-title-animate {
  font-size: 3em;
  color: #ffffff;
  margin: 0;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
  animation: titlePulse 2s ease-in-out;
  position: relative;
  z-index: 1;
}

@keyframes titlePulse {
  0% { opacity: 0; transform: scale(0.8); }
  50% { transform: scale(1.05); }
  100% { opacity: 1; transform: scale(1); }
}

.title-underline {
  width: 120px;
  height: 5px;
  background: linear-gradient(90deg, #ffd700, #ffed4e, #ffd700);
  margin: 20px auto 0;
  border-radius: 3px;
  animation: expandLine 1.5s ease-out;
  position: relative;
  z-index: 1;
}

@keyframes expandLine {
  from { width: 0; opacity: 0; }
  to { width: 120px; opacity: 1; }
}

/* Gallery Section with Image Cards */
.org-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  margin-bottom: 70px;
}

.gallery-card {
  flex: 1 1 400px;
  max-width: 500px;
  perspective: 1000px;
}

.image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,86,179,0.3);
  transition: transform 0.5s, box-shadow 0.5s;
  cursor: pointer;
}

.image-wrapper:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 0 20px 60px rgba(0,86,179,0.5);
}

.image-wrapper img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s;
}

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

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,51,102,0.95), transparent);
  padding: 25px;
  transform: translateY(100%);
  transition: transform 0.5s;
}

.image-wrapper:hover .image-overlay {
  transform: translateY(0);
}

.image-overlay p {
  color: #ffffff;
  margin: 0;
  font-size: 1.3em;
  font-weight: bold;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* Description Section */
.org-description {
  padding: 0 20px 40px;
  max-width: 900px;
  margin: 0 auto;
}

.description-container {
  background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
  padding: 50px 40px;
  border-radius: 24px;
  box-shadow: 0 8px 40px rgba(0,86,179,0.2);
  position: relative;
  border: 2px solid rgba(0,86,179,0.1);
  overflow: hidden;
}

.description-container::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0,86,179,0.05) 0%, transparent 70%);
  animation: rotateGradient 15s linear infinite;
}

@keyframes rotateGradient {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.quote-icon {
  font-size: 6em;
  color: rgba(0,86,179,0.15);
  line-height: 0;
  margin-bottom: 20px;
  font-family: Georgia, serif;
  position: relative;
  z-index: 1;
}

.description-text {
  font-size: 1.25em;
  line-height: 1.9;
  color: #333;
  text-align: justify;
  margin: 0 0 30px 0;
  position: relative;
  z-index: 1;
}

.description-text strong {
  color: #003366;
  font-weight: 700;
}

.description-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
  position: relative;
  z-index: 1;
}

.badge-animated {
  background: linear-gradient(135deg, #0056b3, #003366);
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  font-size: 1em;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(0,86,179,0.3);
  animation: badgePop 0.8s ease-out;
  transition: transform 0.3s, box-shadow 0.3s;
}

.badge-animated:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 25px rgba(0,86,179,0.5);
}

.badge-animated.delay-1 {
  animation-delay: 0.2s;
}

.badge-animated.delay-2 {
  animation-delay: 0.4s;
}

@keyframes badgePop {
  0% { opacity: 0; transform: scale(0.5); }
  70% { transform: scale(1.1); }
  100% { opacity: 1; transform: scale(1); }
}

/* Reveal Animations */
.reveal-left {
  opacity: 0;
  transform: translateX(-80px);
  transition: opacity 0.8s, transform 0.8s;
}

.reveal-right {
  opacity: 0;
  transform: translateX(80px);
  transition: opacity 0.8s, transform 0.8s;
}

.reveal-bottom {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s, transform 0.8s;
}

.revealed {
  opacity: 1 !important;
  transform: translate(0, 0) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  .org-title-animate {
    font-size: 2.2em;
  }
  
  .gallery-card {
    flex: 1 1 100%;
  }
  
  .description-text {
    font-size: 1.1em;
    text-align: left;
  }
  
  .description-container {
    padding: 35px 25px;
  }
}
