/* styles.css - COMPLETE UPDATED VERSION */
*{margin:0;padding:0;box-sizing:border-box}
/* Mobile viewport fix */
@supports (height: 100dvh) {
  .sppu-hero {
    min-height: calc(100dvh - 140px);
  }
}
    
body {
  font-family: 'Poppins', 'Roboto', sans-serif;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  color: #1e293b;
  line-height: 1.6;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  position: relative;
  min-height: 100vh;
}

/* =========================================== */
/* SPPU OFFICIAL COLOR SCHEME */
/* =========================================== */
:root {
  --sppu-blue: #003366;
  --sppu-blue-light: #00509E;
  --sppu-blue-dark: #002244;
  --sppu-gold: #FFD700;
  --sppu-gold-light: #FFED4E;
  --sppu-cream: #FFF8E1;
  --sppu-white: #ffffff;
  --sppu-gray: #f8fafc;
  --sppu-gray-dark: #475569;
}

/* =========================================== */
/* MAIN LAYOUT & TYPOGRAPHY */
/* =========================================== */
.sppu-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  margin: 0;
}

/* =========================================== */
/* HEADER WITH UNIVERSITY LOGO */
/* =========================================== */
.sppu-header {
  background: var(--sppu-white);
  box-shadow: 0 4px 20px rgba(0, 51, 102, 0.08);
  position: relative;
  z-index: 1000;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

.university-branding {
  display: flex;
  align-items: center;
  gap: 15px;
}

.university-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.university-logo,
.dot-logo {
  height: 80px;
  width: auto;
  object-fit: contain;
  max-width: 180px;
}

.university-info {
  border-left: 2px solid var(--sppu-gold);
  padding-left: 15px;
}

.university-info h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--sppu-blue);
  margin-bottom: 5px;
  line-height: 1.2;
}

.university-info .department {
  font-size: 16px;
  color: var(--sppu-blue-light);
  font-weight: 600;
}

.header-cta {
  display: flex;
  gap: 15px;
  align-items: center;
}

/* =========================================== */
/* MAIN NAVIGATION MENU - FIXED TEXT COLOR TO WHITE */
/* =========================================== */
.sppu-main-nav {
  background: linear-gradient(135deg, #003366, #00509E);
  width: 100vw;
  margin: 0;
  padding: 0;
  box-shadow: 0 4px 15px rgba(0, 51, 102, 0.08);
  position: relative;
  z-index: 1000;
}

.sppu-main-nav .sppu-container {
  padding: 0 20px !important;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: visible !important;
}

.sppu-nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-start;
  width: 100%;
  overflow: visible !important;
}

.sppu-nav-menu > .nav-item {
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
}

/* MENU LINKS - CHANGED TO WHITE */
.sppu-nav-menu > .nav-item > .nav-link {
  color: #ffffff !important; /* CHANGED TO WHITE */
  text-decoration: none;
  padding: 16px 12px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
}

.sppu-nav-menu > .nav-item > .nav-link:hover,
.sppu-nav-menu > .nav-item > .nav-link:focus {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
  border-bottom-color: var(--sppu-gold);
}

/* Position CRM & ERP buttons to the right */
.sppu-nav-menu > .nav-item.ms-auto {
  margin-left: auto !important;
}

/* CRM & ERP Buttons */
.sppu-nav-menu > .nav-item > .nav-link.btn-crm {
  background: linear-gradient(135deg, var(--sppu-blue) 0%, var(--sppu-blue-light) 100%);
  color: white !important;
  border-radius: 8px;
  padding: 10px 15px;
  margin: 0 3px;
  border: none !important;
  font-size: 12px;
}

.sppu-nav-menu > .nav-item > .nav-link.btn-erp {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white !important;
  border-radius: 8px;
  padding: 10px 15px;
  margin: 0 3px;
  border: none !important;
  font-size: 12px;
}

.sppu-nav-menu > .nav-item > .nav-link.btn-crm:hover {
  background: linear-gradient(135deg, var(--sppu-blue-light) 0%, var(--sppu-blue) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 80, 158, 0.3);
}

.sppu-nav-menu > .nav-item > .nav-link.btn-erp:hover {
  background: linear-gradient(135deg, #20c997 0%, #28a745 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(40, 167, 69, 0.3);
}

/* =========================================== */
/* DROPDOWN MENU FIXES */
/* =========================================== */
.dropdown-menu {
  background: var(--sppu-white) !important;
  border: none !important;
  border-radius: 10px !important;
  box-shadow: 0 15px 40px rgba(0, 51, 102, 0.15) !important;
  padding: 15px 0 !important;
  min-width: 220px !important;
  border: 1px solid rgba(0, 80, 158, 0.1) !important;
  margin-top: 5px !important;
  z-index: 99999 !important;
  position: absolute !important;
}

.dropdown-item {
  color: var(--sppu-blue) !important;
  padding: 12px 25px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  transition: all 0.3s ease !important;
  z-index: 999999 !important;
  position: relative !important;
}

.dropdown-item:hover {
  background: linear-gradient(135deg, var(--sppu-blue) 0%, var(--sppu-blue-light) 100%) !important;
  color: white !important;
  padding-left: 30px !important;
}

.dropdown-toggle::after {
  margin-left: 5px;
  vertical-align: middle;
  border-top: 0.3em solid #ffffff; /* WHITE ARROW */
  border-right: 0.3em solid transparent;
  border-left: 0.3em solid transparent;
}

/* Mobile Navigation Toggle */
.mobile-nav-toggle {
  display: none !important;
  background: var(--sppu-blue);
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 20px;
  margin-left: auto;
}

/* =========================================== */
/* DYNAMIC HERO SECTION */
/* =========================================== */
.hero {
  width: 100vw;
  min-height: calc(100vh - 110px);
  margin: 0;
  padding: 0;
  background: #eaf1f8;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  width: 100%;
  height: 100%;
}

.hero-text {
  background: linear-gradient(135deg, #003366, #00509e);
  color: #fff;
  padding: 52px 56px;
  border-radius: 0 120px 120px 0;
  box-shadow: 0 20px 50px rgba(0, 51, 102, 0.25);
  height: 100%;
}

.hero-line {
  width: 40px;
  height: 4px;
  background: #ffd700;
  display: block;
  margin-bottom: 16px;
}

.hero-text h3 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.hero-text p {
  font-size: 1.05rem;
  line-height: 1.65;
  opacity: 0.95;
}
/* Hero Actions Container */
.hero-actions {
  margin-top: 20px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-images {
  height: 100%;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafc 0%, #eef3f8 60%, #f1f5f9 100%);
}

/* Enable smooth touch interaction */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  min-width: 100%;
  flex-shrink: 0;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #eef3f8;
}

.hero-slider-controls {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: var(--sppu-gold);
  transform: scale(1.2);
}

.slider-nav {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.slider-nav:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

/* =========================================== */
/* STATS SECTION */
/* =========================================== */
.stats-section {
  background: var(--sppu-white);
  padding: 80px 0;
  position: relative;
  margin-top: -40px;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -10px 40px rgba(0, 51, 102, 0.05);
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.stat-card {
  text-align: center;
  padding: 30px 20px;
  background: var(--sppu-gray);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 51, 102, 0.1);
  background: var(--sppu-white);
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--sppu-blue);
  margin-bottom: 10px;
  line-height: 1;
}

.stat-label {
  color: var(--sppu-gray-dark);
  font-size: 16px;
  font-weight: 500;
}

/* =========================================== */
/* PROGRAMS SECTION */
/* =========================================== */
.sppu-programs {
  padding: 100px 0;
  background: var(--sppu-white);
  z-index: 1;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  color: var(--sppu-blue-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  margin-bottom: 10px;
  display: inline-block;
  padding: 5px 15px;
  background: rgba(0, 80, 158, 0.1);
  border-radius: 20px;
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--sppu-blue);
  margin-bottom: 15px;
}

.section-subtitle {
  color: var(--sppu-gray-dark);
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.program-card {
  background: var(--sppu-gray);
  border-radius: 12px;
  padding: 35px;
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
  position: relative;
  overflow: visible;
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 51, 102, 0.15);
  border-color: var(--sppu-blue-light);
}

.program-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--sppu-blue) 0%, var(--sppu-blue-light) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}

.program-icon i {
  color: white;
  font-size: 30px;
}

.program-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  color: var(--sppu-blue);
  margin-bottom: 15px;
}

.program-card p {
  color: var(--sppu-gray-dark);
  margin-bottom: 20px;
  line-height: 1.7;
}

.program-features {
  list-style: none;
  margin: 25px 0;
}

.program-features li {
  padding: 8px 0;
  color: var(--sppu-blue);
  display: flex;
  align-items: center;
  gap: 10px;
}

.program-features i {
  color: var(--sppu-gold);
  font-size: 14px;
}

.program-cta {
  display: inline-block;
  color: var(--sppu-blue-light);
  font-weight: 600;
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.program-cta:hover {
  border-bottom-color: var(--sppu-blue-light);
}

/* =========================================== */
/* RECRUITERS SECTION */
/* =========================================== */
.recruiters-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f0f7ff 0%, #e6f0ff 100%);
  z-index: 1;
  position: relative;
}

.recruiters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px 30px;
  margin-top: 60px;
}

.company-logo {
  background: white;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 25px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  height: 200px;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.company-logo:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
  border-color: var(--sppu-gold);
}

.company-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(0%) !important;
  opacity: 1 !important;
  transition: all 0.5s ease;
  transform-origin: center;
}

.company-logo:hover img {
  transform: scale(1.1);
}

.company-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 51, 102, 0.95));
  color: white;
  padding: 15px 10px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  transition: all 0.4s ease;
  transform: translateY(100%);
}

.company-logo:hover .company-name {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================== */
/* PLACEMENTS SECTION */
/* =========================================== */
.placements-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f0f8ff 0%, #e6f2ff 100%);
  z-index: 1;
  position: relative;
}

.placements-carousel {
  position: relative;
  margin: 50px auto;
  overflow: hidden;
  width: 100%;
  padding: 0 60px;
}

.placements-track {
  display: flex;
  gap: 30px;
  transition: transform 0.5s ease;
  padding: 20px 10px;
}

.placement-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  flex: 0 0 calc(33.333% - 20px);
  min-width: 380px;
}

.placement-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.placement-image {
  position: relative;
  height: 320px;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.placement-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.7s ease;
}

.placement-card:hover .placement-image img {
  transform: scale(1.05);
}

.student-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: linear-gradient(135deg, var(--sppu-blue) 0%, var(--sppu-blue-light) 100%);
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.placement-details {
  padding: 30px;
}

.placement-details h4 {
  color: var(--sppu-blue);
  margin-bottom: 12px;
  font-size: 20px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

.placement-program {
  color: var(--sppu-gray-dark);
  font-size: 15px;
  margin-bottom: 10px;
  font-weight: 600;
}

.placement-batch {
  color: #6c757d;
  font-size: 14px;
  margin-bottom: 20px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.placement-batch i {
  color: var(--sppu-gold);
}

.placement-info {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  border-left: 4px solid var(--sppu-gold);
}

.placement-info p {
  color: var(--sppu-gray-dark);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.placement-package {
  color: #27ae60 !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  margin-top: 15px !important;
  text-align: center;
  display: block;
  background: rgba(39, 174, 96, 0.1);
  padding: 10px;
  border-radius: 8px;
}

.placements-carousel .carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: 2px solid var(--sppu-gold);
  color: var(--sppu-blue);
  width: 55px;
  height: 55px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.placements-carousel .carousel-btn:hover {
  background: var(--sppu-blue);
  color: white;
  border-color: var(--sppu-blue);
  transform: translateY(-50%) scale(1.1);
}

.placements-carousel .carousel-btn.prev {
  left: 0;
}

.placements-carousel .carousel-btn.next {
  right: 0;
}

.placements-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 50px;
}

.placement-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.placement-dot.active {
  background: var(--sppu-blue);
  transform: scale(1.3);
  box-shadow: 0 0 0 4px rgba(0, 51, 102, 0.2);
}

.placement-controls {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin: 50px 0 30px;
}

.placement-controls .control-btn {
  background: var(--sppu-blue);
  color: white;
  border: none;
  padding: 14px 30px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  min-width: 160px;
  justify-content: center;
  box-shadow: 0 5px 20px rgba(0, 51, 102, 0.2);
}

.placement-controls .control-btn:hover {
  background: var(--sppu-blue-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.placement-controls #placementAutoPlayBtn.playing {
  background: #e74c3c;
}

/* =========================================== */
/* ADMISSION INFO SECTION */
/* =========================================== */
.sppu-admission-info {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--sppu-blue) 0%, var(--sppu-blue-light) 100%);
  color: white;
  z-index: 1;
  position: relative;
}

.sppu-admission-info .section-title,
.sppu-admission-info .section-subtitle {
  color: white;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.info-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 35px 25px;
  border-radius: 12px;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.info-card:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
  border-color: var(--sppu-gold);
}

.info-icon {
  width: 70px;
  height: 70px;
  background: rgba(255, 215, 0, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.info-icon i {
  color: var(--sppu-gold);
  font-size: 28px;
}

.info-card h4 {
  color: white;
  margin-bottom: 10px;
  font-size: 20px;
}

.info-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.6;
}

/* =========================================== */
/* EVENTS CAROUSEL */
/* =========================================== */
.sppu-events-gallery {
  padding: 100px 0;
  background: linear-gradient(135deg, #f0f8ff 0%, #e6f2ff 100%);
  z-index: 1;
  position: relative;
}

.events-carousel {
  position: relative;
  margin: 50px auto;
  overflow: hidden;
  max-width: 1200px;
  padding: 0 50px;
}

.carousel-track {
  display: flex;
  gap: 30px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 10px 5px;
}

.event-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  flex: 0 0 calc(33.333% - 20px);
  min-width: 350px;
  animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.event-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.event-image {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.event-card:hover .event-image img {
  transform: scale(1.05);
}

.event-date {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--sppu-blue);
  color: white;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  min-width: 60px;
  z-index: 2;
}

.event-date .day {
  font-size: 24px;
  font-weight: 700;
  display: block;
  line-height: 1;
}

.event-date .month {
  font-size: 14px;
  font-weight: 600;
  display: block;
  margin-top: 5px;
  text-transform: uppercase;
}

.event-content {
  padding: 25px;
}

.event-content h4 {
  color: var(--sppu-blue);
  margin-bottom: 10px;
  font-size: 18px;
  font-family: 'Montserrat', sans-serif;
  min-height: 54px;
}

.event-content p {
  color: var(--sppu-gray-dark);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  min-height: 68px;
}

.event-link {
  color: var(--sppu-blue-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.event-link:hover {
  color: var(--sppu-blue);
  gap: 12px;
}

.events-carousel .carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: 2px solid var(--sppu-gold);
  color: var(--sppu-blue);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.events-carousel .carousel-btn:hover {
  background: var(--sppu-blue);
  color: white;
  border-color: var(--sppu-blue);
  transform: translateY(-50%) scale(1.1);
}

.events-carousel .carousel-btn.prev {
  left: 0;
}

.events-carousel .carousel-btn.next {
  right: 0;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.carousel-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dots .dot.active {
  background: var(--sppu-blue);
  transform: scale(1.2);
  box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.2);
}

.dot:hover {
  background: var(--sppu-blue-light);
  transform: scale(1.1);
}

/* =========================================== */
/* FLOATING ELEMENTS */
/* =========================================== */
/* Chat Bubble with Hover Text */
.chat-bubble {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: white !important;
  color: var(--sppu-blue) !important;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 51, 102, 0.3);
  z-index: 10002;
  transition: all 0.3s ease;
  border: 2px solid var(--sppu-gold);
  animation: float 3s ease-in-out infinite;
  visibility: visible !important;
  opacity: 1 !important;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.chat-bubble:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 40px rgba(0, 51, 102, 0.4);
  background: var(--sppu-blue) !important;
  color: white !important;
}

/* Chat bubble hover text */
.chat-bubble::after {
  content: "Hey! I am Niaa...";
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--sppu-blue);
  color: white;
  padding: 10px 15px;
  border-radius: 20px 20px 0 20px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  z-index: 10001;
}

/* Second line for longer text */
.chat-bubble::before {
  content: "Your Admission Assistant.";
  position: absolute;
  right: 70px;
  top: calc(50% + 25px);
  transform: translateY(-50%);
  background: var(--sppu-blue);
  color: white;
  padding: 8px 15px;
  border-radius: 20px 20px 0 20px;
  font-size: 11px;
  font-weight: 400;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  z-index: 10001;
}

.chat-bubble:hover::after,
.chat-bubble:hover::before {
  opacity: 1;
  visibility: visible;
  right: 75px;
}

/* SPPU CRM Floating Button */
.sppu-crm-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, var(--sppu-blue) 0%, var(--sppu-blue-light) 100%);
  color: white;
  padding: 15px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 10px 30px rgba(0, 51, 102, 0.3);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10000;
  visibility: visible !important;
  opacity: 1 !important;
}

.sppu-crm-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 51, 102, 0.4);
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 100px;
  left: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
  z-index: 10001;
  transition: all 0.3s ease;
  border: 2px solid white;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
}

/* Latest Floating Button */
.latest-floating-btn {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background: linear-gradient(135deg, var(--sppu-gold) 0%, #FFC107 100%) !important;
  color: var(--sppu-blue) !important;
  border: none;
  padding: 14px 25px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10001;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
  border: 2px solid var(--sppu-gold-light);
  animation: pulse-gold 2s infinite;
  min-width: 160px;
  justify-content: center;
}

@keyframes pulse-gold {
  0% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(255, 215, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
}

.latest-floating-btn:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #FFC107 0%, var(--sppu-gold) 100%) !important;
  box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
}

/* =========================================== */
/* CHAT WINDOW */
/* =========================================== */
.chat-window {
  position: fixed;
  bottom: 170px;
  right: 30px;
  width: 320px;
  height: 450px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
  z-index: 10003;
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 2px solid var(--sppu-gold);
}

.chat-window.open {
  display: flex;
}

.chat-header {
  background: linear-gradient(135deg, var(--sppu-blue) 0%, var(--sppu-blue-light) 100%);
  color: white;
  padding: 15px 20px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-chat {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.close-chat:hover {
  background: rgba(255, 255, 255, 0.2);
}

.chat-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  background: #f8f9fa;
}

.message {
  padding: 12px 15px;
  border-radius: 15px;
  margin-bottom: 15px;
  max-width: 85%;
  line-height: 1.4;
  position: relative;
}

.message.bot {
  background: white;
  border-radius: 15px 15px 15px 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #333;
  border: 1px solid #eaeaea;
}

.message.user {
  background: linear-gradient(135deg, var(--sppu-blue) 0%, var(--sppu-blue-light) 100%);
  color: white;
  border-radius: 15px 15px 5px 15px;
  margin-left: auto;
}

.message-time {
  display: block;
  font-size: 10px;
  opacity: 0.7;
  margin-top: 5px;
  text-align: right;
}

.typing-indicator {
  display: none;
  padding: 15px;
}

.typing-indicator.active {
  display: block;
}

.typing-indicator span {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sppu-blue-light);
  margin: 0 2px;
  opacity: 0.4;
  animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
  0%, 100% { opacity: 0.4; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-5px); }
}

.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 15px;
  background: white;
  border-top: 1px solid #eaeaea;
  border-bottom: 1px solid #eaeaea;
}

.quick-btn {
  flex: 1;
  min-width: calc(50% - 4px);
  padding: 10px 8px;
  background: rgba(0, 80, 158, 0.1);
  border: 1px solid rgba(0, 80, 158, 0.2);
  border-radius: 8px;
  color: var(--sppu-blue);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.quick-btn:hover {
  background: var(--sppu-blue);
  color: white;
  transform: translateY(-2px);
}

.quick-btn i {
  font-size: 14px;
}

.chat-input {
  display: flex;
  padding: 15px;
  background: white;
}

.chat-input input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 25px;
  outline: none;
  font-size: 14px;
}

.chat-input button {
  background: linear-gradient(135deg, var(--sppu-blue) 0%, var(--sppu-blue-light) 100%);
  color: white;
  border: none;
  width: 45px;
  border-radius: 50%;
  margin-left: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-input button:hover {
  background: linear-gradient(135deg, var(--sppu-blue-light) 0%, var(--sppu-blue) 100%);
  transform: scale(1.05);
}

/* =========================================== */
/* BOTTOM MARQUEE TICKER */
/* =========================================== */
.sppu-marquee-bar {
  background: var(--sppu-blue);
  color: white;
  padding: 0;
  border-top: 2px solid var(--sppu-gold);
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9990;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  height: 45px;
}

.sppu-marquee-bar .sppu-container {
  padding: 0;
  display: flex;
  width: 100%;
}

.marquee-content {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 15px;
  overflow: hidden;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
  padding-left: 20px;
}

.marquee-label {
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 0 15px;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
}

.marquee-track {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  height: 100%;
  display: flex;
  align-items: center;
}

.marquee-track span {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 20s linear infinite;
  font-size: 14px;
  line-height: 45px;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.marquee-track:hover span {
  animation-play-state: paused;
}

/* =========================================== */
/* FOOTER */
/* =========================================== */
.sppu-footer {
  background: var(--sppu-blue);
  color: white;
  padding: 60px 0 30px;
  position: relative;
  z-index: 1;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-logo-container {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-logo {
  height: 60px;
  width: auto;
}

.footer-logo.dot {
  height: 50px;
}

.footer-section h4 {
  color: var(--sppu-gold);
  font-size: 18px;
  margin-bottom: 20px;
  font-family: 'Montserrat', sans-serif;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--sppu-gold);
  transform: translateX(5px);
}

.footer-contact {
  list-style: none;
}

.footer-contact li {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
}

.footer-contact i {
  color: var(--sppu-gold);
  margin-top: 3px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

/* =========================================== */
/* RESPONSIVE DESIGN */
/* =========================================== */
@media (max-width: 1200px) {
  .event-card {
    min-width: 320px;
  }
  
  .sppu-main-nav .sppu-container {
    min-width: 100%;
    padding: 0 10px !important;
  }
  
  .sppu-nav-menu > .nav-item > .nav-link {
    padding: 15px 10px;
    font-size: 12px;
  }
  
  .sppu-nav-menu > .nav-item > .nav-link.btn-crm,
  .sppu-nav-menu > .nav-item > .nav-link.btn-erp {
    padding: 8px 12px;
    font-size: 11px;
  }
}

@media (max-width: 992px) {
  .university-logo-container {
    gap: 20px;
  }
  .hero-wrapper {
    grid-template-columns: 1fr;
    overflow: hidden;
  }

  .sppu-hero {
    min-height: auto;
  }

  .hero-content {
    padding: 40px 25px;
    text-align: center;
    align-items: center;
  }

  .hero-subtitle {
    max-width: 100%;
  }

  .hero-images {
    height: 260px;
  }
  .university-logo,
  .dot-logo {
    height: 70px;
  }
  
  .hero-inner {
    grid-template-columns: 1fr;
  }
  
  .hero {
    min-height: auto;
  }
  }

@media (max-width: 992px) and (min-width: 769px) {
  .sppu-nav-menu {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .sppu-nav-menu > .nav-item.ms-auto {
    margin-left: 0 !important;
    order: 100;
  }
  
  .sppu-nav-menu > .nav-item > .nav-link {
    padding: 12px 8px;
    font-size: 11px;
  }
}

@media (max-width: 768px) {
  .university-logo-container {
    flex-direction: column;
    gap: 15px;
  }
  
  .university-logo {
    order: 1;
  }
  
  .dot-logo {
    order: 2;
  }

  .featured-faculty-img {
    height: 260px;
  }



  .latest-floating-btn {
    bottom: 20px;
    left: 20px;
    padding: 12px 20px;
    font-size: 13px;
    min-width: 140px;
  }
  
  .chat-bubble {
    bottom: 80px;
    right: 20px;
    width: 55px;
    height: 55px;
    font-size: 22px;
  }
  
  .chat-bubble::after,
  .chat-bubble::before {
    display: none; /* Hide on mobile for cleaner look */
  }
  
  .chat-window {
    bottom: 140px;
    right: 20px;
    width: calc(100vw - 40px);
    height: 400px;
  }
  
  .sppu-crm-float {
    bottom: 20px;
    right: 20px;
    padding: 12px 20px;
    font-size: 13px;
  }

  .whatsapp-float {
    bottom: 90px;
    left: 20px;
    width: 55px;
    height: 55px;
    font-size: 24px;
  }
  
  .marquee-content {
    gap: 10px;
  }
  
  .marquee-label {
    font-size: 12px;
    padding: 0 10px;
  }
  
  .marquee-track span {
    font-size: 12px;
  }

  /* Mobile navigation */
  .sppu-main-nav {
    overflow-x: hidden;
    padding: 10px 0;
  }
  
  .sppu-main-nav .sppu-container {
    min-width: 100%;
    padding: 0 15px !important;
  }
  
  .mobile-nav-toggle {
    display: block !important;
  }
  
  .sppu-nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--sppu-white);
    box-shadow: 0 10px 30px rgba(0, 51, 102, 0.15);
    border-top: 2px solid var(--sppu-gold);
    z-index: 1000;
    justify-content: center;
    gap: 10px;
  }
  .nav-item {
    margin-right: 0;
  }
  .sppu-nav-menu.mobile-open {
    display: flex;
  }
  
  .sppu-nav-menu > .nav-item {
    width: 100%;
    border-bottom: 1px solid rgba(0, 80, 158, 0.1);
  }
  
  .sppu-nav-menu > .nav-item > .nav-link {
    color: var(--sppu-blue) !important;
    padding: 15px 20px;
    font-size: 15px;
    justify-content: space-between;
    border-bottom: none;
  }
  
  .sppu-nav-menu > .nav-item.ms-auto {
    margin-left: 0 !important;
  }
  
  .sppu-nav-menu > .nav-item > .nav-link.btn-crm,
  .sppu-nav-menu > .nav-item > .nav-link.btn-erp {
    margin: 10px 20px;
    text-align: center;
    justify-content: center;
    width: calc(100% - 40px);
  }
  
  .dropdown-menu {
    position: static !important;
    box-shadow: none;
    border: none;
    width: 100%;
    margin-top: 0 !important;
    background: rgba(0, 80, 158, 0.05);
  }
  
  .programs-grid {
    grid-template-columns: 1fr;
  }
  
  .recruiters-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .company-logo {
    height: 150px;
    padding: 25px 15px;
  }
  
  .placements-track {
    flex-direction: column;
    gap: 20px;
  }
  
  .placement-card {
    min-width: 100%;
  }
  
  .carousel-track {
    flex-direction: column;
    gap: 20px;
  }
  
  .event-card {
    min-width: 100%;
  }
  
  .events-carousel {
    padding: 0 60px;
  }
  
  .carousel-track {
    gap: 20px;
  }
  
  .event-content h4 {
    font-size: 16px;
    min-height: 48px;
  }
  
  .event-content p {
    font-size: 13px;
    min-height: 60px;
  }
}

@media (max-width: 576px) {
  .latest-floating-btn {
    bottom: 75px;
    left: 20px;
    font-size: 12px;
    padding: 10px 15px;
    min-width: 130px;
  }
  .hero-images img {
    object-position: center top;
  }
  .chat-bubble {
    bottom: 130px;
    right: 20px;
  }
  
  .sppu-crm-float {
    bottom: 20px;
    right: 20px;
    width: calc(100% - 100px);
  }
  
  .hero-title {
    font-size: 32px;
  }
  
  .section-title {
    font-size: 28px;
  }

  /* SPPU Gold Button Styles - Override existing CTA button styles */
  .cta-button {
    background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(184, 134, 11, 0.3);
    transition: all 0.3s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    min-width: 180px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
  /* If you want to keep primary/secondary distinction, adjust these */
.cta-primary {
    background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
    box-shadow: 0 4px 8px rgba(184, 134, 11, 0.3);
}

.cta-secondary {
    background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
    box-shadow: 0 4px 8px rgba(184, 134, 11, 0.3);
}

/* Hover Effects */
.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(184, 134, 11, 0.4);
    color: white;
    text-decoration: none;
}

/* Active/Click Effect */
.cta-button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(184, 134, 11, 0.3);
}

/* Icon styling */
.cta-button i {
    font-size: 14px;
}
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .stat-number {
    font-size: 40px;
  }
  
  .recruiters-grid {
    grid-template-columns: 1fr;
  }
  
  .whatsapp-float {
    bottom: 90px;
    left: 20px;
  }
  
  .events-carousel {
    padding: 0 50px;
  }
  
  .event-card {
    min-width: 260px;
  }
  
  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .chat-bubble {
    bottom: 70px;
    right: 15px;
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
  
  .chat-window {
    bottom: 130px;
    right: 15px;
    height: 350px;
  }
  
  .sppu-crm-float {
    bottom: 15px;
    right: 15px;
    padding: 12px 20px;
    font-size: 13px;
  }

  .latest-floating-btn {
    bottom: 10px;
    left: 10px;
    padding: 10px 16px;
    font-size: 12px;
    min-width: 120px;
  }

  .university-info h1 {
    font-size: 16px;
  }
  
  .university-info .department {
    font-size: 14px;
  }
  
  .university-logo,
  .dot-logo {
    height: 60px;
  }
}
/* ===== FORCE HERO TEXT TO RECTANGLE ===== */
.hero-content,
.hero-text,
.hero-left {
  border-radius: 0 !important;
  clip-path: none !important;
  mask: none !important;
  -webkit-clip-path: none !important;
}

/* Add to your existing CSS */
.sppu-gold-btn {
    background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%) !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 4px 8px rgba(184, 134, 11, 0.3) !important;
}

.sppu-gold-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 12px rgba(184, 134, 11, 0.4) !important;
}
/* Non-floating version of Latest Updates button style */
.latest-btn-style {
    /* Visual properties copied from .latest-floating-btn */
    background: linear-gradient(135deg, var(--sppu-gold) 0%, #FFC107 100%);
    color: var(--sppu-blue);
    border: 2px solid var(--sppu-gold-light);
    padding: 14px 25px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
    min-width: 160px;
    text-decoration: none;
    text-align: center;
    font-family: inherit;
    
    /* Remove floating positioning */
    position: static;
    bottom: auto;
    left: auto;
    z-index: auto;
    
    /* Remove the pulse animation or keep it if you want */
    animation: pulse-gold 2s infinite;
}

/* Hover effect - you can copy from .latest-floating-btn:hover if it exists */
.latest-btn-style:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
    color: var(--sppu-blue);
    text-decoration: none;
}

/* Active/click effect */
.latest-btn-style:active {
    transform: translateY(1px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
}

/* If you want to remove pulse animation on hover */
.latest-btn-style:hover {
    animation: none; /* Optional: stops pulse on hover */
}

/* Container for buttons */
.hero-actions {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .latest-btn-style {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}
/* Simple SPPU Notification Bar */
.sppu-crm-notice {
    background: var(--sppu-blue);
    color: white;
    padding: 15px 0;
    text-align: center;
    border-bottom: 3px solid var(--sppu-gold);
}

.sppu-crm-notice .sppu-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.sppu-crm-notice i.fa-university {
    color: var(--sppu-gold);
    margin-right: 10px;
}

.sppu-crm-notice strong {
    color: var(--sppu-gold);
}

.sppu-crm-notice a {
    background: var(--sppu-gold);
    color: var(--sppu-blue);
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    margin-left: 15px;
    display: inline-block;
    transition: all 0.3s ease;
}

.sppu-crm-notice a:hover {
    background: #FFC107;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 215, 0, 0.3);
}

/* FACULTY GRID */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 35px;
  margin-top: 60px;
  max-height: 820px;
  overflow: hidden;
  transition: max-height 0.6s ease;
}

.faculty-grid.expanded {
  max-height: 5000px;
}

/* FACULTY CARD */
.faculty-card {
  background: white;
  border-radius: 18px;
  padding: 30px 25px;
  text-align: center;
  box-shadow: 0 12px 35px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border: 1px solid blue !important;
  display: block !important;
}

.faculty-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

.faculty-card img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
}

/* IMAGE CONTAINER */
.faculty-image {
  width: 100%;
  height: 320px;          /* SAME for all 3 main faculties */
  overflow: hidden;
  border-radius: 14px;
}
  
.faculty-img {
   width: 100px;
   height: 120px;
   margin: 0 auto 15px;
   overflow: hidden;
   border-radius: 12px;
   background: #e5e7eb;
}

.faculty-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* 🔥 MOST IMPORTANT */
  object-position: top;
}

.faculty-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;      /* prevents stretching */
  object-position: top;   /* keeps face visible */
  display: block;
}

.faculty-content {
  padding: 18px;
  text-align: center;
}

.faculty-content p {
  font-size: 14px;
  color: #64748b;
}

.faculty-content ul {
  list-style: none;
  padding: 0;
}

.faculty-content ul li {
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: #333;
}
.faculty-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}

.faculty-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #0f172a;
  margin-top: 10px;
  margin-bottom: 4px;
}

.faculty-card.visible {
  display: block;
}

.faculty-card p {
  font-size: 0.9rem;
  color: #475569;
  margin-bottom: 4px;
}

.faculty-card span {
  font-size: 0.85rem;
  color: #2563eb;
  font-weight: 500;
}

.view-all-btn {
  padding: 14px 34px;
  border-radius: 30px;
  background: #003366;
  color: #fff;
  border: none;
  font-weight: 600;
  cursor: pointer;
}

.view-all-btn:hover {
  background: var(--sppu-blue-light);
}

/* Main faculty image container */
.faculty-img-wrapper {
  width: 170px;
  height: 170px;
  margin: 0 auto 18px;
  border-radius: 50%;
  overflow: hidden;
  background: #f1f5f9;
  border: 4px solid var(--sppu-gold-light);
}

/* Image styling */
.faculty-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;    /* 🔥 KEY FIX */
  
}

/* ================= FEATURED FACULTY IMAGE FIX ================= */

.featured-faculty-img {
  width: 100%;
  height: 320px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 18px;
  background: #f1f5f9;
}

.featured-faculty-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;          /* CRITICAL */
  object-position: center top; /* FACE SAFE */
  display: block;
}

/* =========================================== */
/* FACULTY SECTION – FINAL FIX */
/* =========================================== */

.faculty-section {
  padding: 100px 0;
  background: var(--sppu-white);
  position: relative;
}

.faculty-grid {
  display: grid;
  gap: 35px;
  margin-top: 60px;
  max-height: 820px;
  overflow: hidden;
  transition: max-height 0.6s ease;
  border: 2px solid red !important;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
}

.faculty-grid.expanded {
  max-height: 5000px;
}

.faculty-actions {
  text-align: center;
  margin-top: 50px;
}

#all-faculty .faculty-card {
  background: #ffffff;
  padding: 25px 20px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

#all-faculty .faculty-img {
  width: 120px;
  height: 150px;
  margin: 0 auto 15px;
  overflow: hidden;
  border-radius: 12px;
  background: #e5e7eb;
}

#all-faculty .faculty-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
}
#all-faculty h4 {
  font-size: 16px;
  font-weight: 700;
  color: #003366;
  margin-top: 10px;
}

#all-faculty p {
  font-size: 14px;
  color: #475569;
  margin-bottom: 4px;
}

#all-faculty span {
  font-size: 13px;
  color: #64748b;
}
