/* =====================================================
   ADMISSION PORTAL - MODERN DESIGN
   ===================================================== */

/* Color Palette */
:root {
  --primary-gradient: linear-gradient(135deg, #5b9aff 0%, #4169ff 100%);
  --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --accent-gradient: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  --primary-color: #5b9aff;
  --secondary-color: #4169ff;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
}

/* ===== HERO SECTION ===== */
.admission-hero {
  background: var(--primary-gradient);
  color: white;
  padding: 100px 20px 80px;
  position: relative;
  overflow: hidden;
  min-height: 550px;
  display: flex;
  align-items: center;
}

.admission-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><path d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/></g></g></svg>');
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: slideInDown 0.8s ease-out;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.admission-hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -1px;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.admission-hero p {
  opacity: 0.95;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* ===== INFO BANNER ===== */
.info-banner {
  background: var(--secondary-gradient);
  color: white;
  padding: 35px;
  border-radius: 15px;
  margin-bottom: 50px;
  box-shadow: 0 15px 40px rgba(245, 87, 108, 0.25);
  animation: slideInUp 0.8s ease-out 0.2s both;
  border-left: 5px solid white;
}

.info-banner h4 {
  margin: 0;
  font-weight: 700;
  font-size: 1.3rem;
}

.info-banner h5 {
  font-weight: 700;
  font-size: 1.3rem;
  margin: 0 0 10px 0;
}

.info-banner p {
  line-height: 1.7;
  opacity: 0.98;
  margin: 0;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== FEATURE SECTION ===== */
.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 20px;
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-icon:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.4);
}

/* ===== MERIT LIST SECTION ===== */
.merit-list-section {
  background: var(--accent-gradient);
  border-radius: 20px !important;
  padding: 60px 40px !important;
  margin-bottom: 60px;
}

.merit-item {
  background: white;
  padding: 30px 25px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-left: 5px solid var(--primary-color);
  position: relative;
  overflow: hidden;
}

.merit-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--secondary-gradient);
}

.merit-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

.merit-item i {
  font-size: 2.8rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  display: block;
}

.merit-item h5 {
  font-weight: 700;
  color: var(--text-dark);
  margin: 15px 0 10px;
}

.merit-item p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin: 0;
}

.merit-item a {
  color: var(--primary-color);
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  margin-top: 15px;
  padding: 8px 20px;
  border-radius: 20px;
  border: 2px solid var(--primary-color);
}

.merit-item a:hover {
  background: var(--primary-color);
  color: white;
  transform: scale(1.05);
}

/* ===== FORM CARDS ===== */
.form-card {
  background: var(--primary-gradient) !important;
  color: white;
  padding: 40px 30px !important;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: none !important;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
  z-index: 0;
}

.form-card:hover::before {
  transform: translateX(100%);
}

.form-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 50px rgba(102, 126, 234, 0.35) !important;
}

.form-card-content {
  position: relative;
  z-index: 1;
}

.form-card-icon {
  font-size: 3.5rem;
  margin-bottom: 25px;
  display: block;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.form-card h5 {
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 12px;
  margin-top: 0;
}

.form-card p {
  opacity: 0.95;
  margin-bottom: 25px;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ===== MODERN CARDS ===== */
.modern-card {
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  border-radius: 15px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.modern-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12) !important;
}

.card-icon {
  font-size: 2.8rem;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
  border-radius: 12px;
  flex-shrink: 0;
}

/* ===== CARD HEADER ===== */
.card-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
  background: white !important;
  padding: 25px !important;
}

.card-header .d-flex {
  gap: 15px;
}

.card-header h6 {
  color: var(--text-dark);
  margin: 0;
  font-weight: 700;
}

.card-body {
  padding: 25px;
}

.card-text {
  color: var(--text-light);
  line-height: 1.8;
  margin: 0;
}

/* ===== BUTTONS ===== */
.btn-gradient {
  background: linear-gradient(135deg, #5b9aff 0%, #4169ff 100%) !important;
  border: none;
  border-radius: 25px;
  font-weight: 700;
  padding: 10px 30px;
  transition: all 0.3s ease;
  color: white;
  display: inline-block;
  box-shadow: 0 8px 20px rgba(4, 4, 235, 0.3);
}

.btn-gradient:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(4, 4, 235, 0.4);
  color: white;
}

.form-card .btn-gradient {
  background: white !important;
  color: #5b9aff !important;
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.form-card .btn-gradient:hover {
  background: #f0f0f0 !important;
  color: #5b9aff !important;
  transform: translateY(-3px);
}

/* ===== SECTION TITLES ===== */
.section-title {
  font-weight: 800;
  font-size: 2.2rem;
  text-align: center;
  color: var(--text-dark);
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 20px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary-gradient);
  border-radius: 2px;
}

/* ===== BACKGROUND ===== */
.bg-admission-light {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

/* ===== ANIMATIONS ===== */
.fade-in {
  animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.scale-in {
  animation: scaleIn 0.4s ease-out;
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .admission-hero {
    padding: 60px 20px;
    min-height: auto;
  }

  .admission-hero h1 {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .form-card {
    padding: 30px !important;
    min-height: auto;
  }

  .form-card-icon {
    font-size: 2.5rem;
  }

  .merit-list-section {
    padding: 40px 20px !important;
  }

  .feature-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }

  .info-banner {
    padding: 20px;
  }

  .info-banner h5 {
    font-size: 1.1rem;
  }

  .card-icon {
    width: 60px;
    height: 60px;
    font-size: 2.2rem;
  }
}

@media (max-width: 576px) {
  .admission-hero h1 {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .form-card {
    min-height: auto;
    padding: 25px !important;
  }

  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.4rem;
  }

  .card-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
  }

  .merit-list-section {
    padding: 30px 15px !important;
  }
}
