:root {
  --primary-color: #213b76;
  --secondary-color: #11818c;
  --third-color: #23437e;
   --white: #ffffff;
      --light-gray: #f8f9fa;
      --dark-gray: #666666;
      --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      --button-color:#f06d30;
}
/* approvals and Accreditations */
.logo-slider {
  width: 100%;
  overflow: hidden;
  padding: 40px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}


.logo-track {
  display: flex;
   width: calc(160px * 14); /* 7 logos × 2 sets × 200px width */
  animation: slide 20s linear infinite;
}

.logo-item {
  width: 150px;
  height: 150px;
  margin: 0 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  /* background: rgb(195, 192, 192); */
   background: rgba(93, 89, 89, 0.5);
  backdrop-filter: blur(5px) saturate(200%);
  border: 1px solid rgba(89, 88, 88, 0.783);
  border-radius: 50%;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2),
    inset 0 4px 20px rgba(255, 255, 255, 0.3);
  transition: transform 0.3s ease;
}

.logo-item:hover {
  transform: translateY(-10px);
}

.logo-item img {
  max-width: 120px;
  max-height: 120px;
  width: auto;
  height: auto;
  object-fit: contain;

  transition: filter 0.3s ease;
}

.logo-item:hover img {
  filter: grayscale(0%);
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
   transform: translateX(calc(-160px * 7)); /* Move by 7 logos + margins */
  }
}

/* Pause animation on hover */
.logo-slider:hover .logo-track {
  animation-play-state: paused;
}

/* Responsive Design */
@media (max-width: 768px) {
  .logo-item {
    width: 120px;
    height: 120px;
    margin: 0 10px;
  }

  .logo-item img {
    max-width: 90px;
    max-height: 90px;
  }

  .logo-track {
    width: calc(150px * 14);
    animation-duration: 15s;
  }

  @keyframes slide {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-150px * 7 - 70px));
    }
  }
}

/* second section */

.second-section-container {
  max-width: 1400px;
  margin: 0 auto;
}

/* .main-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  margin-top: 20px;
  align-items: start;
} */


.section {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.latest-news,
.events {
  height: 900px;
  display: flex;
  flex-direction: column;
}

.latest-news .section-content,
.events .section-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  position: relative;
}

.section-header {
  padding: 20px;
  color: white;
  font-weight: bold;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.deans-message .section-header {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
}

.latest-news .section-header {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
}

.events .section-header {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
}

.section-content {
  padding: 0px 20px;
}

.msg-bg {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  padding: 20px;
  border-radius: 15px;
  position: relative;
  margin: 20px;
}
.quote-1 {
  font-size: 35px;
  opacity: 0.3;
  position: absolute;
  top: 8px;
  left: 8px;
}
.quote-2 {
  font-size: 35px;
  opacity: 0.3;
  position: absolute;
  bottom: 8px;
  right: 8px;
}
.msg-content {
  font-style: italic;
  font-size: 16px;
  line-height: 1.3;
  padding: 15px 8px;
}
.img-container {
  text-align: center;
  margin-top: -30px;
  position: relative;
  z-index: 10;
}
.img-container img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 5px solid white;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.deans-name{
margin-top: 8px;
 color: var(--primary-color);
  font-weight: bold;
   font-size: 16px;
}
.about-text {
  line-height: 1.6;
  color: #444;
  font-size: 14px;
}

.event-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 15px;
  padding: 15px;
  border-radius: 10px;
  /* background: rgba(0, 21, 64, 0.05); */
  transition: all 0.3s ease;
  min-height: 80px;
  opacity: 1; /* Removed slideUpFade animation to avoid initial delay */
}

.news-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
  padding: 15px;
  border-radius: 10px;
  background: rgba(0, 21, 64, 0.05);
  transition: all 0.3s ease;
  opacity: 1; /* Removed slideUpFade animation */
}

.news-item:hover {
  /* background: rgba(0, 21, 64, 0.1); */
  transform: translateY(-2px);
  /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); */
}

.event-item:hover {
  /* background: rgba(0, 21, 64, 0.1); */
  transform: translateY(-2px);
  /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);*/
} 

.news-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #001540, #2a4a7a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  flex-shrink: 0;
}

.event-icon {
  width: 65px;
  height: 65px;

  overflow: hidden;
  flex-shrink: 0;
}

.event-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.news-text,
.event-text {
  font-size: 14px;
  line-height: 1.5;
  color:black;
}

.logo-section {
  text-align: center;
  margin-bottom: 30px;
}

.college-logo {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #001540, #2a4a7a);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
  box-shadow: 0 5px 20px rgba(0, 21, 64, 0.3);
}

.college-name {
  color: white;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 5px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.college-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
}

/* Removed staggered animation delays */
.event-item,
.news-item {
  animation: none; /* Removed slideUpFade animation */
}

@media (max-width: 768px) {
  .main-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .college-name {
    font-size: 24px;
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 21, 64, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 21, 64, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 21, 64, 0);
  }
}

.news-icon {
  animation: pulse 2s infinite;
}

.event-item:hover {
  /* background: rgba(0, 21, 64, 0.1); */
  transform: translateY(-2px) scale(1.02);
  /* box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); */
}

@keyframes scrollUp {
  0% {
   transform: translateY(100%);
  }
  100% {
   transform: translateY(-50%);
  }
}


@keyframes scrollUpEvent {
 0% { transform: translateY(100%); }
  100% { transform: translateY(-150%); }
}


.news-marquee-container {
  height: 100%;
  overflow: hidden;
  position: relative;
  /* background-color: rgba(248, 249, 250, 0.95);
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
}

.news-marquee-container ul {
  padding: 0;
  margin: 0;
  list-style: none;
  /* display: block; */
  animation: scrollUp 25s linear infinite;
  position: absolute;
  width: 100%;
 min-height: 200%; 
bottom: 0;
}

.news-marquee-container ul:hover {
  animation-play-state: paused;
}


.event-marquee-container {
  height: 100%;
  overflow: hidden;
  position: relative;
}
.event-marquee-container ul {
  list-style: none;
  padding: 0;
  margin: 0;
  position: absolute;
  animation: scrollUpEvent 10s linear infinite;
  bottom: 0;
}
/* .event-marquee-container ul::after {
  content: '';
  display: block;
  height: 100%;
} */


.event-marquee-container:hover ul {
  animation-play-state: paused;
}
/* 
#eventList {
  list-style: none;
  margin: 0;
  padding: 0;
} */

.list-group-item {
  padding: 15px;
  background: #ffffff;
  margin-bottom: 10px;
  /* border: 1px solid #dee2e6;
            border-radius: 5px; */
  transition: background 0.3s;
  font-size: 14px;
  color: #555;
  display: flex;
  align-items: center;
  gap: 10px;
}

.list-group-item:hover {
  background: #e9ecef;
}

.feature-entry-items .item:hover {
  transform: translateY(-7px) scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* about management message */
.message-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  border-radius: 25px;
  padding: 50px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: fadeInUp 1s ease-out 0.3s both;
  position: relative;
  overflow: hidden;
  margin: 40px 0;
}

.message-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.message-header {
  text-align: center;
  margin-bottom: 40px;
}

.message-title {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.message-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  /* background: linear-gradient(90deg, #667eea, #764ba2); */
  border-radius: 2px;
}

.message-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
  text-align: justify;
  margin-bottom: 40px;
}

.message-content p {
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeInText 0.8s ease-out forwards;
}

.message-content p:nth-child(1) {
  animation-delay: 0.5s;
}
.message-content p:nth-child(2) {
  animation-delay: 0.7s;
}
.message-content p:nth-child(3) {
  animation-delay: 0.9s;
}

  .stats-section {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 20px;
      margin-top: 40px;
    }

    .stat-card {
      background: linear-gradient(135deg, #213b76 0%, #11818c 100%);
      color: white;
      padding: 25px;
      border-radius: 15px;
      text-align: center;
      transform: translateY(20px);
      opacity: 0;
      animation: slideUp 0.8s ease-out forwards;
    }

    .stat-card:nth-child(1) { animation-delay: 1.2s; }
    .stat-card:nth-child(2) { animation-delay: 1.4s; }
    .stat-card:nth-child(3) { animation-delay: 1.6s; }
    .stat-card:nth-child(4) { animation-delay: 1.8s; }

    .stat-number {
      font-size: 2rem;
      font-weight: bold;
      margin-bottom: 5px;
    }

    .stat-label {
      font-size: 0.9rem;
      opacity: 0.9;
    }

    @keyframes slideUp {
      to {
        transform: translateY(0);
        opacity: 1;
      }
    }

.footer {
  text-align: center;
  margin-top: 50px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

/* .accreditation {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.accreditation-badge {
  background: rgba(255, 255, 255, 0.1);
  padding: 10px 20px;
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 600;
  color: white;
  animation: pulse 2s infinite;
} */

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInText {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  /* .container {
    padding: 20px 15px;
  } */

  .message-card {
    padding: 30px 25px;
  }

  /* .logo {
    font-size: 2.2rem;
    background-color: white;
    border-radius: 50%;
    padding: 10px;
  } */

  .message-title {
    font-size: 2rem;
  }

  .message-content {
    font-size: 1rem;
  }

  .accreditation {
    gap: 15px;
  }

  .accreditation-badge {
    padding: 8px 15px;
    font-size: 0.9rem;
  }
}

/* Hover Effects */
.message-card:hover {
  transform: translateY(-5px);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px) scale(1.05);
  transition: transform 0.3s ease;
}

/* navbar submenu */

.navbar .dropdown-submenu:hover > .dropdown-menu {
  display: block;
}

/* admissions page  */

.department-card {
  background: white;

  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(33, 59, 118, 0.1);
  margin-bottom: 2rem;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.department-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(33, 59, 118, 0.15);
  border-color: var(--secondary-color);
}
.department-card span {
  color: white;
}
.department-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  /* color: white; */
  padding: 1.5rem;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.department-header:hover {
  background: linear-gradient(
    135deg,
    var(--third-color),
    var(--secondary-color)
  );
}

.department-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.collapse-icon {
  transition: transform 0.3s ease;
  font-size: 1.2rem;
}

.collapsed .collapse-icon {
  transform: rotate(-90deg);
}

.department-content {
  padding: 2rem;
}

.eligibility-section {
  margin-bottom: 2rem;
}

.eligibility-section h5 {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--secondary-color);
  display: inline-block;
}

.eligibility-list {
  list-style: none;
  padding: 0;
}

.eligibility-list li {
  text-align: left;
  background: rgba(17, 129, 140, 0.05);
  padding: 0.8rem 1.2rem;
  margin-bottom: 0.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--secondary-color);
  transition: all 0.3s ease;
}

.eligibility-list li:hover {
  background: rgba(17, 129, 140, 0.1);
  transform: translateX(5px);
}

.eligibility-list li::before {
  content: "✔";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--secondary-color);
  margin-right: 0.8rem;
}

.badge-custom {
  background: var(--secondary-color);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.admission-type {
  background: rgba(33, 59, 118, 0.05);
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(33, 59, 118, 0.1);
}

.admission-type h6 {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .page-header h1 {
    font-size: 2rem;
  }

  .department-content {
    padding: 1rem;
  }
}

.fade-in {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* student corner */

.section-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(33, 59, 118, 0.1);
  /* margin-bottom: 3rem; */
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 2px solid transparent;
  position: relative;
}

.section-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
}

.section-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(33, 59, 118, 0.2);
  border-color: var(--secondary-color);
}

 @media (max-width: 800px) {
.leadership {
  padding-bottom: 0px;
}
 }

.content-placeholder {
  text-align: center;
  padding: 3rem;
  background: linear-gradient(
    135deg,
    rgba(17, 129, 140, 0.05),
    rgba(33, 59, 118, 0.05)
  );
  border-radius: 15px;
  border: 2px dashed var(--secondary-color);
  transition: all 0.3s ease;
}

.content-placeholder:hover {
  background: linear-gradient(
    135deg,
    rgba(17, 129, 140, 0.1),
    rgba(33, 59, 118, 0.1)
  );
  transform: scale(1.02);
}

.content-placeholder i {
  font-size: 4rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  opacity: 0.7;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

.content-placeholder h4 {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.content-placeholder p {
  color: #666;
  font-size: 1.1rem;
  line-height: 1.6;
}

.notice-item {
  background: rgba(17, 129, 140, 0.05);
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  border-left: 5px solid var(--secondary-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.notice-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    transparent 0%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 100%
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.notice-item:hover::before {
  transform: translateX(100%);
}

.notice-item:hover {
  background: rgba(17, 129, 140, 0.1);
  transform: translateX(10px);
  box-shadow: 0 8px 25px rgba(33, 59, 118, 0.15);
}

.item-date {
  background: var(--secondary-color);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 0.8rem;
  animation: fadeInUp 0.6s ease-out;
}

.item-title {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.notice-item p {
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.fade-in {
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Additional animations for interactivity */
.notice-item:active {
  transform: translateX(5px) scale(0.98);
}

/* Responsive design */
@media (max-width: 768px) {
  .section-content {
    padding: 1.5rem;
  }

  .content-placeholder {
    padding: 2rem;
  }

  .content-placeholder i {
    font-size: 3rem;
  }

  .notice-item {
    padding: 1rem;
  }
}

/* Loading animation */
.loading-shimmer {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* New notice indicator */
.notice-item.new-notice::after {
  content: "NEW";
  position: absolute;
  top: 10px;
  right: 10px;
  background: #28a745;
  color: white;
  padding: 0.2rem 0.6rem;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  animation: blinkNew 2s infinite;
}

@keyframes blinkNew {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0.5;
  }
}

.content-data {
  position: relative;
  background: rgba(93, 89, 89, 0.5);
  backdrop-filter: blur(5px) saturate(200%);
  border: 1px solid rgba(89, 88, 88, 0.783);
  border-radius: 2rem;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2),
    inset 0 4px 20px rgba(255, 255, 255, 0.3);
  padding: 20px 80px;
  margin-bottom: 20px;
  /* width: 120%;
  margin-left: -80px; */
}



 /* Contact Cards */
        .contact-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-bottom: 3rem;
            max-width: 1200px;
            margin: 50px auto;
        }

        .contact-card {
            background: var(--white);
            padding: 2rem;
            border-radius: 15px;
            box-shadow: var(--shadow);
            text-align: center;
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .contact-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        }

        .contact-icon {
            width: 80px;
            height: 80px;
            margin: 0 auto 1rem;
            
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            color: var(--white);
        }

        .contact-card h3 {
            color: var(--primary-color);
            margin-bottom: 1rem;
            font-size: 1.5rem;
        }

        .contact-card p {
            color: var(--dark-gray);
            margin-bottom: 0.5rem;
            font-size: 1.1rem;
        }

        .contact-card .highlight {
            color: var(--secondary-color);
            font-weight: bold;
        }

        /* Send Message Button Container */
        .send-message-container {
            text-align: center;
            margin-top: 3rem;
        }

        .send-message-btn {
            /* background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); */
             background: var(--button-color);
            color: var(--white);
            padding: 1rem 2.5rem;
            border: none;
            border-radius: 50px;
            font-size: 1.2rem;
            font-weight: bold;
            cursor: pointer;
            margin-bottom: 50px;
            transition: all 0.3s;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            text-decoration: none;
            box-shadow: 0 4px 15px rgba(107, 142, 35, 0.3);
        }

        .send-message-btn:hover {
            /* background: linear-gradient(135deg, var(--secondary-color), var(--primary-color)); */
             background: linear-gradient(90deg, #eb966f 0%, #c75f2f 75% );
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(107, 142, 35, 0.4);
        }

        /* Popup Modal */
      

        /* Form Styles */
        .contact-form {
            display: grid;
            gap: 1rem;
        }

        .form-group {
            display: flex;
            flex-direction: column;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
        }

        .form-group label {
            color: var(--primary-color);
            font-weight: bold;
            margin-bottom: 0.5rem;
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            padding: 1rem;
            border: 2px solid #e0e0e0;
            border-radius: 10px;
            font-size: 1rem;
            transition: border-color 0.3s;
        }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--secondary-color);
        }

        .form-group textarea {
            resize: vertical;
            min-height: 120px;
        }

        .submit-btn {
            /* background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); */
            background: var(--button-color);
            color: var(--white);
            padding: 1rem 2rem;
            border: none;
            border-radius: 50px;
            font-size: 1.1rem;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s;
            margin-top: 1rem;
        }

        .submit-btn:hover {
            /* background: linear-gradient(135deg, var(--secondary-color), var(--primary-color)); */
            background: linear-gradient(90deg, #eb966f 0%, #c75f2f 75% );
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(33, 59, 118, 0.4);
        }

        /* Responsive Design */
        @media (max-width: 768px) {
           
            .form-row {
                grid-template-columns: 1fr;
            }
            
            .contact-cards {
                grid-template-columns: 1fr;
            }
            
            .popup-modal {
                margin: 1rem;
                width: calc(100% - 2rem);
            }
        }


        /* contact */
          .contact-area {
      padding: 3rem 0;
    }

   

    .contact-items {
      background: var(--white);
      border-radius: 20px;
      padding: 3rem;
      box-shadow: var(--shadow);
    }

    /* h2 {
      color: var(--primary-color);
      font-size: 2.5rem;
      margin-bottom: 2rem;
      text-align: center;
      position: relative;
    }
      */

   .contact-heading::after {
      content: '';
      position: absolute;
      bottom: -10px;
      left: 50%;
      transform: translateX(-50%);
      width: 100px;
      height: 3px;
      background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    } 

    .contact-form {
      display: grid;
      gap: 1.5rem;
    }

    .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.5rem;
    }

    .form-group {
      display: flex;
      flex-direction: column;
    }

    .form-group label {
      color: var(--primary-color);
      font-weight: bold;
      margin-bottom: 0.5rem;
    }

   .form-group input,
.form-group textarea,
.form-group select {
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  
  padding: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  width: 100%;
  display: block;
  
  transition: border-color 0.3s;
  background-color: #fff;
}
.form-group select {
  padding: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  display: block;
  width: 100%;
  transition: border-color 0.3s;
}



    .form-group input:focus,
    .form-group textarea:focus {
      border-color: var(--secondary-color);
      outline: none;
    }

    .form-group textarea {
      resize: vertical;
      min-height: 120px;
    }

    .form-group input::placeholder,
    .form-group textarea::placeholder {
      color: #999;
    }

   

    .alert-error {
      color:#999 ;
      font-size: 0.875rem;
      margin-top: 0.25rem;
    }

    @media (max-width: 768px) {
      .container {
        padding: 0 1rem;
      }

      .contact-items {
        padding: 2rem 1rem;
      }

      .form-row {
        grid-template-columns: 1fr;
      }

      h2 {
        font-size: 2rem;
      }
    }

    /* faculty slider */

    .bg-gradient{
      background:  linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
    }



    /* navbar */
    .dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -1px;
  display: none;
  position: absolute;
}

.dropdown-submenu:hover > .dropdown-menu {
  display: block;
}
/* faculty slider */
 .faculty-showcase {
            padding: 60px 0;
        }

        .main-wrapper {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }

    
        /* Slider Container */
        .carousel-container {
            position: relative;
            overflow: hidden;
            
        }

        .slides-wrapper {
            display: flex;
            transition: transform 0.5s ease-in-out;
        }

        .faculty-slide {
            min-width: 100%;
            display: flex;
            gap: 20px;
            padding: 20px;
            justify-content: center;
            flex-wrap: wrap;
        }

        /* Card Styling */
        .member-card {
            flex: 0 0 calc(33.333% - 20px);
            min-width: 300px;
            margin-bottom: 20px;
        }

        .profile-container {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            height: 100%;
        }

        .profile-container:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.15);
        }

        .image-wrapper {
            position: relative;
            overflow: hidden;
        }

        .image-wrapper img {
        width: 100%;
        height: 350px;
        /* object-fit: cover; */
        transition: transform 0.3s ease;
    }

    .avatar-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #ddd;
        color: #555;
        font-size: 100px; /* Adjust to your preference */
        width: 100%;
        height: 250px;
        transition: transform 0.3s ease;
    }

        .profile-container:hover .image-wrapper img {
            transform: scale(1.05);
        }

        .profile-details {
            padding: 25px;
            text-align: center;
        }

        .position-tag {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            color: white;
            padding: 8px 20px;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 600;
            display: inline-block;
            margin-bottom: 15px;
        }

        .profile-details h4 {
            font-size: 1.4rem;
            color: #333;
            margin-bottom: 15px;
            font-weight: 600;
        }

        .profile-details p {
            color: #666;
            line-height: 1.6;
            margin-bottom: 10px;
            font-size: 0.95rem;
        }

        /* Navigation Buttons */
        .carousel-button {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: white;
            border: none;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10;
            transition: all 0.3s ease;
        }

        .carousel-button:hover {
            background: var(--secondary-color);
            color: white;
            transform: translateY(-50%) scale(1.1);
        }

        .carousel-button.previous {
            left: 20px;
        }

        .carousel-button.forward {
            right: 20px;
        }

        /* Dots Indicator */
        .navigation-dots {
            text-align: center;
            margin-top: 30px;
        }

        .indicator-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #ddd;
            display: inline-block;
            margin: 0 5px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .indicator-dot.current {
            background:var(--primary-color);
            transform: scale(1.2);
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .member-card {
                flex: 0 0 calc(50% - 20px);
                min-width: 250px;
            }
            
            .carousel-button {
                width: 40px;
                height: 40px;
            }
            
            .carousel-button.previous {
                left: 10px;
            }
            
            .carousel-button.forward {
                right: 10px;
            }
        }

        @media (max-width: 480px) {
            .member-card {
                flex: 0 0 100%;
                min-width: auto;
            }
            
            .faculty-slide {
                padding: 10px;
            }
        }

/* .top-bar-area.inline {
    padding: 10px 0px;

}
        .top-bar-area {
    padding-bottom: 45px;
 
    overflow: hidden;
    
}

.top-bar-area h3 {
    color: #fff;
    letter-spacing: 1px;
}

.top-bar-area h3, .top-bar-area h4 {
    font-family: impact-regular;
    font-weight: 500;
} */

.logo-item-1 {
    width: 150px;
    height: 150px;
    margin: 0 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
  
    transition: transform 0.3s ease;
}

gradient-lightning-text {
    font-size: 16px;
    font-weight: 600;
    text-decoration:#001540;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color)) !important;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    transition: all 0.3s ease;
}

/* Lightning Effect on Hover */
.gradient-lightning-text:hover {
    text-shadow: 0 0 10px rgba(17, 129, 140, 0.7); /* Glow for lightning effect */
}

/* Pseudo-element for lightning animation */
.gradient-lightning-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
    z-index: -1;
}

.gradient-lightning-text:hover::before {
    left: 100%; /* Creates a quick "lightning" flash effect */
}
h3.title {
    color: white;
    font-size: 60px;
    font-size: 30px;
    /* line-height: 80px; */
    font-weight: 800;
    margin-bottom: 30px;
    text-transform: capitalize;
    margin-top: -10px;
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3), 0 0 30px rgba(255, 255, 255, 0.2), 0 0 40px rgba(255, 255, 255, 0.1);
    letter-spacing: 2px;
}
@media only screen and (max-width: 767px) {
  h3.title {
        font-size: 20px;
        line-height: 1.2;
        margin-top: 0;
    }
   .top-bar-area .info img {
        height: 70px !important;
        width: 70px !important;
    }
}

/* social media icon */
   /* Shared floating button style */
.floating-button {
    position: fixed;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
    animation: bounce 1.5s infinite;
}

.floating-button img {
    width: 30px;
    height: 30px;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.floating-button:hover {
    transform: scale(1.1);
}

/* Specific buttons */
.whatsapp-float {
    bottom: 80px;
    right: 25px;
    background:#ffffff;
}
  .facebook-float {
        bottom: 220px;
        right: 25px;
        background-color: #ffffff
         
    }
    .youtube-float {
    bottom: 290px;
    right: 25px;
    background-color:#ffffff/* YouTube Red */
}
.instagram-float {
        bottom: 150px;
        right: 25px;
        background: #ffffff;
        
    }
      .facility-popup {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            z-index: 10000;
            display: none;
            backdrop-filter: blur(5px);
        }

        /* Popup Container */
        .popup-container {
            position: relative;
            width: 90%;
            max-width: 1200px;
            height: 90%;
            margin: 2.5% auto;
            background: #ffffff;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
            display: flex;
            flex-direction: column;
            animation: popupSlideIn 0.4s ease-out;
        }

        @keyframes popupSlideIn {
            from {
                opacity: 0;
                transform: translateY(-50px) scale(0.95);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        /* Popup Header */
        .popup-header {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            color: white;
            padding: 20px 30px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .popup-title {
            font-size: 24px;
            font-weight: 700;
            margin: 0;
            color: white;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }

        /* Close Button */
        .close-btn {
            background: none;
            border: none;
            color: white;
            font-size: 32px;
            cursor: pointer;
            padding: 0;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: all 0.3s ease;
        }

        .close-btn:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: rotate(90deg);
        }

        /* Popup Content */
        .popup-content {
            flex: 1;
            padding: 30px;
            overflow-y: auto;
            scrollbar-width: thin;
            scrollbar-color: var(--primary-color) #f1f1f1;
        }

        .popup-content::-webkit-scrollbar {
            width: 8px;
        }

        .popup-content::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 10px;
        }

        .popup-content::-webkit-scrollbar-thumb {
            background: var(--primary-color);
            border-radius: 10px;
        }

        /* Facility Description */
        .facility-description {
            margin-bottom: 30px;
            text-align: center;
        }

        .facility-description h3 {
            font-size: 28px;
            color: #333;
            margin-bottom: 15px;
            font-weight: 700;
        }

        .facility-description p {
            font-size: 16px;
            line-height: 1.6;
            color: #666;
            max-width: 800px;
            margin: 0 auto;
        }

        /* Gallery Grid */
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            margin-bottom: 40px;
        }

        .gallery-item {
            position: relative;
            border-radius: 15px;
            overflow: hidden;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }

        .gallery-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
        }

        .gallery-item img {
            width: 100%;
            height: 250px;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .gallery-item:hover img {
            transform: scale(1.1);
        }

        .gallery-item-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
            color: white;
            padding: 20px;
            transform: translateY(100%);
            transition: transform 0.3s ease;
        }

        .gallery-item:hover .gallery-item-overlay {
            transform: translateY(0);
        }

        .gallery-item-title {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 5px;
        }

        .gallery-item-description {
            font-size: 14px;
            opacity: 0.9;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .popup-container {
                width: 95%;
                height: 95%;
                margin: 2.5% auto;
            }

            .popup-header {
                padding: 15px 20px;
            }

            .popup-title {
                font-size: 20px;
            }

            .popup-content {
                padding: 20px;
            }

            .facility-description h3 {
                font-size: 24px;
            }

            .gallery-grid {
                grid-template-columns: 1fr;
                gap: 15px;
            }

            .gallery-item img {
                height: 200px;
            }

            .features-list {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 480px) {
            .popup-container {
                width: 100%;
                height: 100%;
                margin: 0;
                border-radius: 0;
            }

            .popup-header {
                padding: 12px 15px;
            }

            .popup-title {
                font-size: 18px;
            }

            .popup-content {
                padding: 15px;
            }

            .facility-description h3 {
                font-size: 20px;
            }

            .facility-description p {
                font-size: 14px;
            }
        }

        /* Demo Card Styles (for demonstration) */
        .demo-card {
            background: white;
            border-radius: 15px;
            padding: 20px;
            margin: 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .demo-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        }

        .demo-card h4 {
            color: #333;
            margin-bottom: 10px;
        }

        .demo-card p {
            color: #666;
            font-size: 14px;
        }


