/* CU E-Pay — custom look and feel, layered on top of css/styles.css (Bootstrap) */

:root {
  --cu-purple: #482673;
  --cu-pink: #ed0b70;
  --cu-purple-dark: #2f1a4d;
  --cu-gradient: linear-gradient(135deg, var(--cu-purple) 0%, var(--cu-pink) 100%);
  --cu-bg: #f6f5fb;
  --cu-card-radius: 1rem;
}

body {
  font-family: "Poppins", "Segoe UI", Roboto, Arial, sans-serif;
  background-color: var(--cu-bg);
  color: #333;
}

/* Navbar */
.navbar.cu-navbar {
  background: var(--cu-purple-dark) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.cu-navbar .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.cu-navbar .navbar-brand img {
  height: 46px;
  width: 46px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  padding: 3px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25);
}

.cu-navbar .nav-link {
  font-weight: 500;
  transition: color 0.2s ease;
}

.cu-navbar .nav-link:hover {
  color: #ffd9ea !important;
}

/* Hero */
.cu-hero {
  position: relative;
  padding: 0;
  overflow: hidden;
}

.cu-hero-inner {
  position: relative;
  background-image: linear-gradient(135deg, rgba(72, 38, 115, 0.88) 0%, rgba(237, 11, 112, 0.82) 100%), url('../images/calicut-university.png');
  background-size: cover;
  background-position: center;
  padding: 5.5rem 1.5rem;
  text-align: center;
  color: #fff;
}

.cu-hero-inner h1 {
  font-weight: 700;
  font-size: 2.75rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.cu-hero-inner p {
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0.75rem auto 0;
  opacity: 0.95;
}

.cu-hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* Section heading */
.cu-section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}

.cu-section-title h2 {
  font-weight: 700;
  color: var(--cu-purple);
}

.cu-section-title p {
  color: #6c757d;
}

/* Feature cards */
.cu-feature-card {
  height: 100%;
  border: none;
  border-radius: var(--cu-card-radius);
  background: #fff;
  box-shadow: 0 6px 20px rgba(72, 38, 115, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cu-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(72, 38, 115, 0.18);
}

.cu-feature-card a {
  display: block;
  padding: 2.25rem 1.5rem;
  text-decoration: none;
  color: inherit;
  text-align: center;
}

.cu-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--cu-gradient);
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 1.1rem;
  box-shadow: 0 8px 18px rgba(237, 11, 112, 0.3);
}

.cu-feature-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--cu-purple);
  margin-bottom: 0.5rem;
}

.cu-feature-card p {
  color: #6c757d;
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* Footer */
.cu-footer {
  background: var(--cu-purple-dark);
  color: #d9d3e6;
  padding: 3rem 0 1.5rem;
}

.cu-footer h4 {
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.cu-footer-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  font-size: 0.92rem;
}

.cu-footer-item i {
  color: var(--cu-pink);
  margin-top: 0.2rem;
}

.cu-footer hr {
  border-color: rgba(255, 255, 255, 0.15);
  margin: 1.5rem 0 1rem;
}

.cu-footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  color: #b6adc9;
}

@media (max-width: 767.98px) {
  .cu-hero-inner h1 {
    font-size: 2rem;
  }
}
