*{
  margin: 0;
  padding: 0;
  color: #fff;
}
body {
  background: linear-gradient(120deg, #181a1b 0%, #23272b 100%);
  color: #f1f1f1;
  font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Animated floating gradient background overlay */
body::before {
  content: '';
  position: fixed;
  top: -20%;
  left: -20%;
  width: 140vw;
  height: 140vh;
  background: radial-gradient(circle at 30% 30%, #00bcd4 0%, transparent 60%),
              radial-gradient(circle at 70% 70%, #23272b 0%, transparent 60%),
              linear-gradient(120deg, rgba(0,188,212,0.08) 0%, rgba(35,39,43,0.12) 100%);
  z-index: 0;
  pointer-events: none;
  animation: bgMove 18s ease-in-out infinite alternate;
  opacity: 0.18;
}
@keyframes bgMove {
  0% { transform: scale(1) translate(0,0); }
  100% { transform: scale(1.1) translate(40px, 60px); }
}

.navbar {
  background: #23272b !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.navbar-brand img {
  height: 40px;
}

.nav-link {
  color: #f1f1f1 !important;
  transition: color 0.2s;
}

.nav-link.active, .nav-link:hover {
  color: #00bcd4 !important;
}

.card {
  background: #23272b;
  border: none;
  border-radius: 1rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
  transition: transform 0.3s cubic-bezier(.4,2,.6,1), box-shadow 0.3s cubic-bezier(.4,2,.6,1), border 0.3s;
  position: relative;
  overflow: hidden;
}

.card-title{
  color: #fff;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  pointer-events: none;
  box-shadow: 0 0 0 0 #00bcd4;
  transition: box-shadow 0.5s cubic-bezier(.4,2,.6,1);
}
.card:hover::before {
  box-shadow: 0 0 24px 6px #00bcd4;
  opacity: 0.5;
}
.card:hover {
  transform: translateY(-10px) scale(1.07) rotate(-1deg);
  box-shadow: 0 12px 40px rgba(0,188,212,0.18);
  z-index: 2;
  border: 1.5px solid #00bcd4;
}

.card-img-top, .img-fluid, .modal-body img {
  max-width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 0.75rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
  transition: transform 0.4s cubic-bezier(.4,2,.6,1), box-shadow 0.4s cubic-bezier(.4,2,.6,1);
}

.card-img-top:hover, .img-fluid:hover, .modal-body img:hover {
  transform: scale(1.04) rotate(1deg);
  box-shadow: 0 8px 32px rgba(0,188,212,0.22);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 2rem;
  text-shadow: 0 2px 8px rgba(0,188,212,0.08);
}

.btn-info, .btn-outline-info, .btn-glow {
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
  box-shadow: 0 0 0 0 #00bcd4;
}
.btn-info:hover, .btn-outline-info:hover, .btn-glow:hover {
  background: #00bcd4 !important;
  color: #181a1b !important;
  box-shadow: 0 4px 16px rgba(0,188,212,0.18), 0 0 16px 4px #00bcd4;
  transform: translateY(-2px) scale(1.06);
}
.btn-glow::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  background: rgba(0,188,212,0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.7;
  pointer-events: none;
  transition: width 0.4s cubic-bezier(.4,2,.6,1), height 0.4s cubic-bezier(.4,2,.6,1), opacity 0.4s;
  z-index: 0;
}
.btn-glow.ripple::after {
  width: 220px;
  height: 220px;
  opacity: 0;
  transition: width 0.4s cubic-bezier(.4,2,.6,1), height 0.4s cubic-bezier(.4,2,.6,1), opacity 0.4s;
}

.footer {
  background: #23272b;
  color: #aaa;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.95rem;
  border-top: 1px solid #333;
}

[data-animate] {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: opacity 0.7s cubic-bezier(.4,2,.6,1), transform 0.7s cubic-bezier(.4,2,.6,1);
}
[data-animate].animated {
  opacity: 1;
  transform: none;
}

[data-animate-stagger] > * {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: opacity 0.7s cubic-bezier(.4,2,.6,1), transform 0.7s cubic-bezier(.4,2,.6,1);
}
[data-animate-stagger].animated > * {
  opacity: 1;
  transform: none;
}

.modal-content {
  background: #23272b;
  color: #f1f1f1;
  border-radius: 1rem;
  box-shadow: 0 0 32px 8px #00bcd4;
  border: 1.5px solid #00bcd4;
  animation: modalPop 0.7s cubic-bezier(.4,2,.6,1);
}
@keyframes modalPop {
  0% { transform: scale(0.92) translateY(40px); opacity: 0; }
  100% { transform: none; opacity: 1; }
}

.img-card {
  max-width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 0.75rem;
}
.img-modal {
  max-width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 0.75rem;
  box-shadow: 0 0 32px 4px #00bcd4;
  animation: imgPop 0.7s cubic-bezier(.4,2,.6,1);
}
@keyframes imgPop {
  0% { transform: scale(0.92); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.img-feature {
  max-width: 120px;
  max-height: 120px;
  object-fit: cover;
  border-radius: 0.75rem;
}
.img-hero {
  max-width: 350px;
  max-height: 350px;
  object-fit: cover;
  border-radius: 1rem;
}

section.container {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  border-radius: 1.5rem;
  background: rgba(35,39,43,0.92);
  box-shadow: 0 2px 24px rgba(0,188,212,0.04);
  padding: 2.5rem 1.5rem;
  position: relative;
  z-index: 1;
}

/* Responsive improvements */
@media (max-width: 992px) {
  .img-hero {
    max-width: 240px;
    max-height: 240px;
  }
  .img-modal {
    max-width: 90vw;
    max-height: 220px;
  }
}
@media (max-width: 768px) {
  .img-hero {
    max-width: 160px;
    max-height: 160px;
  }
  .img-modal {
    max-width: 90vw;
    max-height: 160px;
  }
  .card {
    min-height: 340px;
  }
}
@media (max-width: 576px) {
  .navbar-brand img {
    height: 32px;
  }
  .footer {
    font-size: 0.85rem;
  }
  .img-hero {
    max-width: 120px;
    max-height: 120px;
  }
  section.container {
    padding: 1.2rem 0.5rem;
  }
  .card {
    min-height: 280px;
  }
}
