/* CSS/admission.css */

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-in {
    animation: slideIn 1s ease-out;
}

@keyframes slideIn {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.zoom-on-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.zoom-on-hover:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.gradient-bg {
    background: linear-gradient(270deg, red, blue, rgb(197, 78, 157), purple);
}

.sticky-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.hero-section {
    background: linear-gradient(135deg, #007bff, #6610f2);
}

.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card-body {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.text1 {
    color: #007bff;
}

/* Gradient Button */
.gradient-button {
    display: inline-block;
    background: linear-gradient(270deg, brown, white, gray);
    background-size: 500%;
    color: black;
    font-size: large;
    font-weight: bold;
    border: none;
    border-radius: 18px;
    width: 100%;
    max-width: 220px;
    height: 60px;
    animation: gradientAnimation 8s ease infinite;
}

.gradient-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px black;
}

@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.nav-item {
    padding: 5px;
    font-weight: bold;
    animation: gradientAnimation 8s ease infinite;
}

.nav-item:hover {
    background-image: linear-gradient(to bottom, blue, aqua);
    border-radius: 18px;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px black;
}

#scrollToTop {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@media (max-width: 768px) {
    .d-flex.align-items-center {
        flex-direction: column;
        text-align: center;
    }
    .nav {
        flex-direction: column;
    }
    .card {
        margin-bottom: 20px;
    }
    .display-4 {
        font-size: 2rem;
    }
}
.text1 {
  background: linear-gradient(90deg, #ff0000, #0000ff, #00cc00, #ff9900);
    -webkit-background-clip: text;
    background-clip: text;
  color: transparent;
}
#chatbot-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #007bff;
  color: white;
  width: 60px;
  height: 60px;
  font-size: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  cursor: pointer;
  z-index: 9999;
}

#chatbot-container {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 320px;
  height: 420px;
  background: white;
  border-radius: 15px;
  display: none;
  flex-direction: column;
  box-shadow: 0px 0px 15px rgba(0,0,0,0.3);
  z-index: 9999;
}

#chatbot-header {
  background: #007bff;
  color: white;
  padding: 10px;
  display: flex;
  justify-content: space-between;
}

#chatbot-body {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
}

.bot-msg, .user-msg {
  padding: 8px 12px;
  margin-bottom: 10px;
  border-radius: 10px;
  max-width: 80%;
}

.bot-msg {
  background: #e3f2fd;
}

.user-msg {
  background: #d1ffd1;
  margin-left: auto;
}

#chatbot-input-area {
  display: flex;
  border-top: 1px solid #ddd;
}

#chatbot-input {
  flex: 1;
  border: none;
  padding: 10px;
}

#send-btn {
  width: 60px;
  border: none;
  background: #007bff;
  color: white;
}
