@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;700;900&family=Inter:wght@400;600;800&display=swap');

:root {
  --primary: #1e293b;
  --primary-light: #334155;
  --primary-dark: #0f172a;
  --accent: #b8860b;
  --accent-light: #daa520;
  --accent-dark: #8b6914;
  --font-heading: "Outfit", sans-serif;
  --font-body: "Inter", sans-serif;
}

body {
  margin-top: 105px;
  font-family: var(--font-body);
  background-color: #fcfcfc;
  color: #1e293b;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.navbar {
  border-bottom: 1px solid #f1f5f9;
  background: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.navbar .nav-link {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #1e293b !important;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.navbar .nav-link:hover {
  color: var(--accent) !important;
}

#showcase {
  position: relative;
  min-height: 600px;
  padding: 0;
}

#showcase .carousel,
#showcase .carousel-inner,
#showcase .carousel-item {
  height: 600px;
}

#showcase .carousel-item img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* Custom Smooth Transition */
.carousel-item {
  transition: transform 1.2s ease-in-out !important;
}

#showcase .primary-overlay {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.7) 100%);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#showcase .display-3 {
  color: #0f172a !important;
  text-shadow: none !important;
}

#showcase .lead {
  color: #475569 !important;
}

.info-header {
  width: 50%;
  margin: auto;
  border-bottom: 1px #ddd solid;
}

#authors img {
  margin-top: -50px;
}

#authors .card:hover {
  background: #3292a6;
  color: #fff;
}

#authors .fab {
  color: #fff;
}

@media (max-width: 768px) {
  #showcase {
    min-height: 500px;
  }

  #showcase h1 {
    font-size: 3rem;
  }

  .mb-resp {
    margin-bottom: 1rem;
  }
}

/* Custom Styles for GPT Library */
.showcase-img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 50%;
  border: 12px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  margin-top: 2rem;
}

.table-responsive {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
  background: white;
}

.table thead th {
  background-color: #f8fafc;
  color: #64748b;
  border-bottom: 1px solid #f1f5f9;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  padding: 1.25rem 2rem;
}

.table tbody td {
  padding: 1.25rem 2rem;
  border-bottom: 1px solid #f8fafc;
  vertical-align: middle;
  color: var(--primary);
  font-weight: 500;
}

.btn-download {
  background-color: var(--primary);
  color: #fff !important;
  border-radius: 0.75rem;
  padding: 0.5rem 1.25rem;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-download:hover {
  background-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(184, 134, 11, 0.3);
}

.department-card {
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 1.25rem;
  padding: 2rem;
  min-width: 160px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  color: #64748b;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.department-card i {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-light);
  transition: transform 0.4s;
}

.department-card:hover {
  border-color: var(--accent-light);
  color: var(--primary) !important;
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  background: #fff;
}

.department-card:hover i {
  color: var(--accent);
  transform: scale(1.1);
}

.font-weight-black {
  font-weight: 900;
}

.opacity-75 {
  opacity: 0.75;
}