/* ================= ROOT VARIABLES ================= */
:root {
  --accent: #ff5a00;
  --accent-dark: #e14e00;
  --green: #1e3b2d;
  --green-light: #0a8a3a;
  --muted: #667;
  --card-bg: #ffffff;
  --card-shadow: 0 10px 30px rgba(10, 40, 20, 0.05);
  --card-shadow-hover: 0 18px 40px rgba(0, 0, 0, 0.15);
  --transition: 0.3s ease;
  --page-bg: #ffe4d2;
}

/* ================= GLOBAL RESET ================= */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: visible;
  
}

body {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  color: #222;
  background-color: #ffe4d2;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}



/* ================= FORCE PAGE BACKGROUND ================= */
body,
section,
.container-fluid,
.py-5,
.mt-5,
.mb-5,
.pt-5,
.pb-5 {
  background-color: #ffe4d2;
}

/* Topbar & Navbar stay white */
.topbar,
.navbar {
  background: #ffffff !important;
}

/* Sections with custom backgrounds */
.about-section {
  background: linear-gradient(90deg, #ffffff, #ffffff) !important;
}




.visitors-section {
  background: #ffffff !important;
}

.site-footer {
  background: #000 !important;
}

/* ================= ANNOUNCEMENT BAR WITH FIXED BUTTON ================= */

/* Fixed Button - Top Left */
.announcement-fixed-btn {
  position: fixed;
  top: 5px;
  left: 15px;
  z-index: 1002;
  background: #cf3434;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(239, 68, 68, 0.3);
  padding: 0;
}

.announcement-fixed-btn svg {
  color: white;
  width: 20px;
  height: 20px;
}

.announcement-fixed-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

/* Pulse animation for button */
@keyframes pulseRing {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

.announcement-fixed-btn {
  animation: pulseRing 2s infinite;
}

/* Announcement Bar Wrapper - Creates space for the fixed button */
.announcement-bar-wrapper {
  margin-left: 70px; /* Space for the fixed button */
  position: relative;
  width: calc(100% - 70px);
}

/* Your existing announcement-bar styles (modified for wrapper) */
.announcement-bar {
  width: 100%;
  background: linear-gradient(90deg, #fff5f5 0%, #f1e6e6 50%, #fff5f5 100%);
  color: #000000;
  overflow: hidden;
  padding: 12px 0;
  position: relative;
  border-bottom: 1px solid rgba(239, 68, 68, 0.1);
}

.announcement-track {
  display: flex;
  white-space: nowrap;
  animation: scrollAnnouncement 60s linear infinite;
  width: max-content;
}

.announcement-item {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-right: 80px;
  font-size: 15px;
  font-weight: 500;
  color: #333;
  letter-spacing: 0.2px;
}

/* NEW Badge */
.new-badge {
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 4px;
  margin-right: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
  animation: blinkGlow 2s infinite;
  position: relative;
  top: -1px;
}

/* Dot separator between announcements */
.announcement-item + .announcement-item::before {
  content: "•";
  margin-right: 80px;
  color: #ef4444;
  font-size: 18px;
  opacity: 0.4;
}

/* Blink Animation — smoother and slower */
@keyframes blinkGlow {
  0%, 100% { 
    opacity: 1; 
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3); 
  }
  50% { 
    opacity: 0.7; 
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.15); 
  }
}

/* Scroll Animation — slower and smoother */
@keyframes scrollAnnouncement {
  0% { 
    transform: translateX(0); 
  }
  100% { 
    transform: translateX(-50%); 
  }
}

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

/* Hide announcement bar when needed */
.announcement-bar.hide,
.announcement-bar-wrapper.hide {
  display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .announcement-fixed-btn {
    top: 10px;
    left: 10px;
    width: 36px;
    height: 36px;
  }
  
  .announcement-fixed-btn svg {
    width: 18px;
    height: 18px;
  }
  
  .announcement-bar-wrapper {
    margin-left: 55px;
    width: calc(100% - 55px);
  }
  
  .announcement-item {
    font-size: 12px;
    margin-right: 40px;
  }
  
  .announcement-item + .announcement-item::before {
    margin-right: 40px;
    font-size: 14px;
  }
  
  .new-badge {
    font-size: 9px;
    padding: 2px 8px;
  }
}

@media (max-width: 480px) {
  .announcement-fixed-btn {
    width: 32px;
    height: 32px;
  }
  
  .announcement-fixed-btn svg {
    width: 16px;
    height: 16px;
  }
  
  .announcement-bar-wrapper {
    margin-left: 48px;
    width: calc(100% - 48px);
  }
  
  .announcement-item {
    font-size: 11px;
    margin-right: 30px;
  }
  
  .announcement-item + .announcement-item::before {
    margin-right: 30px;
    font-size: 12px;
  }
}

/* ================= TOPBAR ================= */
.topbar {
  background: #ffffff;
  padding: 6px 0;
  border-bottom: 3px solid #eaf6ea;
  font-size: 14px;
  min-height: 40px;
}

.topbar-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.topbar-center {
  display: flex;
  justify-content: center;
}

.topbar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.topbar-link {
  color: #6c757d;
  font-size: 13px;
  transition: var(--transition);
  white-space: nowrap;
}

.topbar-link:hover {
  color: #0d6efd;
}

.topbar-separator {
  color: #ccc;
  margin: 0 6px;
}

.cet-badge {
  font-weight: 600;
  color: #333;
  white-space: nowrap;
}

.topbar-search {
  display: flex;
  align-items: center;
}

.topbar-search input {
  border-radius: 20px 0 0 20px;
  border: 1px solid #ddd;
  padding: 4px 10px;
  font-size: 13px;
  width: 160px;
  outline: none;
}

.topbar-search button {
  border-radius: 0 20px 20px 0;
  border: 1px solid #ddd;
  border-left: none;
  background: #fff;
  color: #555;
  padding: 4px 10px;
}

.topbar-right a {
  color: #333;
  font-size: 16px;
  margin-left: 8px;
  opacity: 0.9;
  transition: var(--transition);
}

.topbar-right a:hover {
  color: var(--accent);
  opacity: 1;
}

@media (max-width: 991.98px) {
  .topbar {
    text-align: center;
  }
  
  /* Prevents items from squishing too tight on tiny screens */
  .topbar-left {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    margin-bottom: 8px;
  }

  /* Hides structural separators on small mobile screens if items wrap */
  .topbar-separator {
    display: inline;
  }
  
  /* Spacing for search bar on mobile */
  .topbar-center {
    margin-bottom: 8px;
  }

  /* Ensures search form behaves well on small screens */
  .topbar-search {
    max-width: 280px; 
    margin: 0 auto;
  }

  /* Centers and spaces out social links */
  .topbar-right {
    gap: 15px;
    padding-top: 4px;
  }
}

/* ================= BRAND HEADER ================= */
.brand-header {
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 18%;  /* This creates the aspect ratio (260/1440 ≈ 18%) */
  height: 0;
  position: relative;
}

/* ================= NAVBAR ================= */
.navbar {
  position: sticky !important;
  top: 0;
  z-index: 1050;
  background: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.navbar .nav-link {
  font-weight: 600;
  padding: 10px 16px;
  color: #2b3b2b;
  transition: var(--transition);
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--accent);
}

/* ================= DROPDOWN ================= */
.dropdown-menu {
  min-width: 220px;
  border-radius: 10px;
  padding: 8px 0;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.dropdown-item {
  padding: 10px 18px;
  font-weight: 500;
  color: #222;
  transition: all .2s ease;
}

.dropdown-item:hover {
  background: var(--accent);
  color: #fff;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > a::after {
  content: "›";
  float: right;
  margin-top: 2px;
  font-size: 14px;
}

.dropdown-submenu > .dropdown-menu {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  margin-left: 2px;
  border-radius: 10px;
  z-index: 9999;
}

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

/* ================= CAROUSEL / SLIDER (ZOOM-PROOF) ================= */
.vnec-hero {
  width: 100%;
  overflow: hidden;
}

.vnec-hero .carousel-item {
  max-height: 80vh;
  overflow: hidden;
}

.vnec-hero .carousel-item img {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: cover;
  display: block;
}

.carousel-caption {
  background: rgba(0, 0, 0, 0.4);
  padding: 10px 14px;
  border-radius: 6px;
  bottom: 15%;
}

/* ================= FEATURE CARDS ================= */
.feature-card {
  background: var(--card-bg);
  padding: 22px;
  border-radius: 14px;
  box-shadow: var(--card-shadow);
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
}

.feature-icon {
  font-size: 64px;
  color: var(--accent);
  display: inline-block;
  margin-bottom: 10px;
}

/* ================= NEWS TICKER ================= */
.news-ticker {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.news-items {
  display: flex;
  flex-direction: column;
  animation: scrollNews 40s linear infinite;
}

.news-items:hover {
  animation-play-state: paused;
}

.news-item {
  padding: 10px 0;
  margin: 0;
}

.news-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(255, 90, 0, 0.1);
  color: #d00000;
  margin-bottom: 6px;
}

.news-date-badge::before {
  content: "➤";
  color: var(--accent);
  font-size: 14px;
  font-weight: bold;
  animation: blinkArrow 1s infinite;
}

.news-link {
  font-weight: 600;
  color: #c40000;
  font-size: 13px;
  line-height: 1.6;
}

.news-link:hover {
  text-decoration: underline;
}

.news-text {
  font-size: 13px;
  color: #c40000;
  line-height: 1.6;
}

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

@keyframes blinkArrow {
  0% { opacity: 1; transform: translateX(0); }
  50% { opacity: 0.2; transform: translateX(3px); }
  100% { opacity: 1; transform: translateX(0); }
}

.btn-view-all {
  display: inline-block;
  padding: 6px 18px;
  background: var(--accent);
  color: #fff;
  border-radius: 20px;
  font-size: 13px;
  text-decoration: none;
  margin-top: 10px;
  transition: var(--transition);
}

.btn-view-all:hover {
  background: var(--accent-dark);
  color: #fff;
}

/* ================= ABOUT SECTION ================= */
.about-section {
  padding: 70px 0;
  background: linear-gradient(90deg, #ffffff, #ffffff) !important;
}

.about-preview {
  font-size: 15.5px;
  line-height: 1.9;
  color: #2b2b2b;
}

/* ================= MANAGEMENT CARDS ================= */
.management-card {
  background: #fff;
  padding: 22px;
  padding-top: 120px;
  border-radius: 14px;
  box-shadow: 0 8px 26px rgba(10, 30, 10, 0.08);
  text-align: center;
  min-height: 380px;
  transition: var(--transition);
  position: relative;
}

.management-card:hover {
  transform: translateY(-6px);
}

.management-img {
  width: 200px;
  height: 200px;
  max-width: 80%;
  max-height: 25vh;
  object-fit: cover;
  border-radius: 50%;
  background: #fff;
  border: 6px solid #fff;
  margin-top: -110px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* ================= WHAT WE OFFER ================= */
.offers-section {
  padding: 80px 0;
  
}

.offer-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  transition: var(--transition);
}

.offer-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.18);
}

.offer-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
}

.offer-icon-wrap i {
  font-size: 30px;
  color: #ffffff;
}

.offer-card:hover .offer-icon-wrap {
  background: var(--accent-dark);
}

/* ================= RECRUITERS ================= */
.recruiters-section {
  padding: 80px 0;
  
}

.recruiters-box {
  background: #fff;
  border-radius: 28px;
  padding: 28px 24px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.recruiters-track {
  display: flex;
  gap: 36px;
  width: max-content;
  transition: transform 0.05s linear;
}

.recruiters-box:hover .recruiters-track {
  animation-play-state: paused;
}

.recruiter-card {
  min-width: 220px;
  height: 100px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.recruiter-card img {
  max-width: 160px;
  max-height: 60px;
  object-fit: contain;
}

/* ==========================================================================
   Placements Page & Interactive Cards CSS
   ========================================================================== */

/* Title Underline Accent */
.title-underline {
  width: 60px;
  height: 3px;
  background-color: #0d6efd; 
  margin: 10px auto 0;
  border-radius: 2px;
}

/* Card Container Wrapper */
.placement-card {
  height: auto; /* Keeps card auto height */
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer; /* Explicitly visually indicates that the card is clickable */
}

/* Hover Adjustments */
.placement-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.12);
}

/* Image Container (Maintains uniform crop boundaries) */
.placement-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 10; /* Ensures consistent layout regardless of original image size */
  overflow: hidden;
  background-color: #f8f9fa;
  position: relative;
}

.placement-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Crops odd-dimensioned layout shapes safely without stretching */
  object-position: center;
  transition: transform 0.5s ease;
}

.placement-card:hover .placement-img-wrap img {
  transform: scale(1.04);
}

/* Card Content Structure */
.placement-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.placement-card-body h5 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #212529;
  margin-bottom: 1rem;
  line-height: 1.4;
}

/* Academic Year Badge */
.placement-year-badge {
  display: inline-block;
  align-self: flex-start; 
  background-color: #ff5a00;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  margin-top: auto; 
}

/* ==========================================================================
   Popup Modal Adjustments 
   ========================================================================== */
.custom-modal-content {
  border-radius: 16px;
  border: none;
  box-shadow: 0 15px 30px rgba(0,0,0,0.25);
  overflow: hidden;
}

.modal-preview-img {
  width: 100%;
  height: auto;
  max-height: 75vh; /* Prevents super tall images from leaking off-screen */
  object-fit: contain; /* Shows the full uncropped original image inside the popup modal */
}


/* ================= BRANCH CARDS ================= */
.branch-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
  height: 100%;
}

.branch-card-link:hover {
  color: inherit;
}

.branch-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--transition);
}

.branch-card:hover {
  transform: translateY(-6px);
}

.branch-card-img {
  height: 190px;
  max-height: 25vh;
  flex-shrink: 0;
  overflow: hidden;
}

.branch-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.branch-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 22px 24px;
}

/* ================= VISITORS DIARY ================= */
.visitors-section {
  background: #ffffff !important;
  padding: 80px 0;
}

.visitors-section .container {
  text-align: center;
}

.visitor-card {
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
}

.visitor-avatar-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.visitor-avatar {
  width: 170px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #eaf1ff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.stars {
  color: #f5a623;
  font-size: 20px;
  margin: 12px 0;
  text-align: center;
}

.visitor-text {
  font-size: 20px;
  color: #444;
  line-height: 1.7;
  max-width: 900px;
  margin: 20px auto;
  text-align: center;
}

.visitor-card h5 {
  text-align: center;
  margin-top: 15px;
}

/* ================= ADMISSION SECTION ================= */

/* ================= ADMISSION SECTION - IMAGE ABOVE FORM ================= */
.admission-section {
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
    
}

/* LEFT CONTENT CARD */
.admission-content-card {
    background: #ffffff;
    border-radius: 32px;
    padding: 48px 40px;
    height: 100%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.admission-content-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 55px -12px rgba(0, 0, 0, 0.2);
}

/* TOP BADGE */
.admission-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff7a00, #ff9f43);
    color: #fff;
    padding: 8px 22px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 20px rgba(255, 122, 0, 0.25);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 10px 20px rgba(255, 122, 0, 0.25); }
    50% { box-shadow: 0 10px 30px rgba(255, 122, 0, 0.4); }
    100% { box-shadow: 0 10px 20px rgba(255, 122, 0, 0.25); }
}

/* TITLE */
.admission-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    color: #0b1b4d;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #0b1b4d, #1a3a8f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* PROGRAM BADGE */
.admission-program-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #0b2c74, #14388f);
    color: #fff;
    padding: 12px 24px;
    border-radius: 60px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    line-height: 1.4;
    box-shadow: 0 12px 20px rgba(11, 44, 116, 0.2);
}

.admission-program-badge i {
    color: #ffb347;
    font-size: 18px;
}

/* INTRO */
.admission-intro {
    font-size: 15px;
    line-height: 1.7;
    color: #2c3e55;
    margin-bottom: 24px;
    font-weight: 500;
}

/* LIST */
.admission-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.admission-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: #1e2f45;
    line-height: 1.6;
    font-size: 14px;
    font-weight: 500;
    transition: transform 0.2s ease;
}

.admission-list li:hover {
    transform: translateX(5px);
}

.admission-list li i {
    color: #ff7a00;
    margin-top: 2px;
    font-size: 16px;
    min-width: 20px;
}

/* NRI BOX */
.nri-box {
    margin-top: 25px;
    background: linear-gradient(135deg, #fff6ed, #fffcf5);
    border-left: 4px solid #ff7a00;
    padding: 15px 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    font-weight: 500;
}

.nri-box i {
    color: #ff5a00;
    font-size: 24px;
}

/* LAST DATE BOX */
.last-date-box {
    margin-top: 30px;
    background: linear-gradient(135deg, #871b1b, #aa2e2e);
    color: #fff;
    padding: 18px 24px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    transition: transform 0.3s ease;
}

.last-date-box:hover {
    transform: scale(1.02);
}

.date-left span {
    display: block;
    font-size: 12px;
    opacity: 0.85;
    margin-bottom: 5px;
}

.date-left h4 {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
}

.date-right {
    font-size: 14px;
    text-align: right;
    font-weight: 600;
}

/* RIGHT SIDE IMAGE */
.admission-image-wrapper-right {
    position: relative;
    width: 100%;
    border-radius: 28px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.15);
}

.admission-image-right {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.admission-image-wrapper-right:hover .admission-image-right {
    transform: scale(1.05);
}

.image-overlay-right {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 3;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 12px 20px;
    color: #fff;
}

.image-overlay-right h5 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.image-overlay-right p {
    margin: 4px 0 0;
    font-size: 13px;
    opacity: 0.9;
}

/* FORM CARD */
.apply-form-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 35px 30px;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 122, 0, 0.1);
}

.form-header h3 {
    font-size: 32px;
    font-weight: 800;
    color: #ff5a00;
    margin-bottom: 8px;
}

.form-header p {
    color: #6c7a91;
    margin-bottom: 25px;
    font-size: 14px;
}

/* INPUTS */
.custom-input {
    border-radius: 14px !important;
    border: 1px solid #e2e8f0 !important;
    padding: 12px 18px !important;
    min-height: 52px;
    font-size: 14px;
    transition: 0.25s ease;
    background: #fefefe;
}

textarea.custom-input {
    min-height: 100px;
    resize: vertical;
}

.custom-input:focus {
    border-color: #ff7a00 !important;
    box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.1) !important;
    outline: none;
}

/* BUTTON */
.submit-btn {
    background: linear-gradient(135deg, #ff7a00, #ff9f43);
    border: none;
    color: #fff;
    height: 52px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    transition: 0.3s ease;
    box-shadow: 0 6px 15px rgba(255, 122, 0, 0.25);
}

.submit-btn:hover {
    background: linear-gradient(135deg, #ff8c2c, #ffae5c);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 122, 0, 0.35);
    color: white;
}

/* Alert Styles */
.admission-alert {
    border-radius: 16px;
    padding: 15px 20px;
    margin-bottom: 25px;
    border: none;
    animation: slideDown 0.5s ease;
}

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

/* ================= RESPONSIVE STYLES ================= */

/* Desktop (992px and above) */
@media (min-width: 992px) {
    .admission-section {
        padding: 80px 40px;
    }
    
    .admission-content-card {
        padding: 50px 45px;
    }
    
    .admission-title {
        font-size: 44px;
    }
    
    .admission-image-wrapper-right {
        max-height: 300px;
    }
    
    .admission-image-right {
        height: 280px;
        object-fit: cover;
    }
}

/* Tablet (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .admission-section {
        padding: 60px 25px;
    }
    
    .admission-title {
        font-size: 38px;
    }
    
    .admission-content-card {
        padding: 35px;
    }
    
    .admission-image-wrapper-right {
        margin-bottom: 20px;
    }
    
    .admission-image-right {
        height: 250px;
        object-fit: cover;
    }
    
    .apply-form-card {
        padding: 30px 25px;
    }
    
    .form-header h3 {
        font-size: 30px;
    }
}

/* Mobile (767px and below) - Perfect stacking */
@media (max-width: 767px) {
    .admission-section {
        padding: 50px 15px;
    }
    
    /* Stack both columns */
    .row.g-4 {
        flex-direction: column;
    }
    
    .col-lg-7, .col-lg-5 {
        width: 100%;
    }
    
    .admission-content-card {
        padding: 30px 25px;
        margin-bottom: 25px;
    }
    
    .admission-title {
        font-size: 32px;
    }
    
    .admission-program-badge {
        width: 100%;
        justify-content: center;
        font-size: 13px;
        padding: 10px 16px;
    }
    
    .admission-list li {
        font-size: 13px;
    }
    
    .nri-box {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .last-date-box {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .date-right {
        text-align: left;
    }
    
    .admission-image-wrapper-right {
        margin-bottom: 20px;
    }
    
    .admission-image-right {
        height: auto;
        max-height: 250px;
        object-fit: cover;
    }
    
    .image-overlay-right h5 {
        font-size: 18px;
    }
    
    .image-overlay-right p {
        font-size: 12px;
    }
    
    .apply-form-card {
        padding: 25px 20px;
    }
    
    .form-header h3 {
        font-size: 28px;
    }
    
    .custom-input {
        min-height: 48px;
        font-size: 14px;
    }
}

/* LAST DATE BOX - WITH ICONS */
.last-date-box {
    margin-top: 30px;
    background: linear-gradient(135deg, #871b1b, #aa2e2e);
    color: #fff;
    padding: 22px 28px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 25px rgba(135, 27, 27, 0.3);
}

.last-date-box:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 35px rgba(135, 27, 27, 0.4);
}

.date-left {
    flex: 1;
}

.date-left span {
    display: inline-block;
    font-size: 12px;
    opacity: 0.85;
    margin-bottom: 8px;
    letter-spacing: 1px;
    font-weight: 500;
}

.date-left span i {
    font-size: 14px;
    margin-right: 5px;
}

.date-left h4 {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.date-left h4 i {
    font-size: 24px;
    color: #ffd700;
}

.date-right {
    text-align: right;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.date-right i {
    font-size: 16px;
    margin: 0 2px;
}

/* Responsive for mobile */
@media (max-width: 576px) {
    .last-date-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px 22px;
    }
    
    .date-left h4 {
        font-size: 24px;
    }
    
    .date-left h4 i {
        font-size: 20px;
    }
    
    .date-right {
        text-align: left;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        width: 100%;
    }
    
    .date-right i:first-child {
        margin-left: 0;
    }
}
/* ================= BUTTONS ================= */
.btn-accent {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-accent:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-accent {
  display: inline-block;
  padding: 12px 30px;
  border: 2px solid var(--accent);
  color: var(--accent);
  background: #fff;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  transition: all .3s ease;
}

.btn-outline-accent:hover {
  background: var(--accent);
  color: #fff;
}

/* ================= FOOTER ================= */
.site-footer {
  background: #000 !important;
  color: #ccc;
  padding: 60px 0 20px;
  font-size: 14px;
  position: relative;
}

.footer-heading {
  color: #fff;
  font-weight: 700;
  margin-bottom: 18px;
  font-size: 28px;
}

.footer-text {
  font-size: 15px;
  line-height: 1.9;
  color: #e8e8e8;
  margin-bottom: 24px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.footer-contact-item i {
  color: var(--accent) !important;
  font-size: 16px;
  min-width: 20px;
  margin-top: 4px;
}

.footer-contact-item span {
  color: #f3f3f3;
  font-size: 15px;
  line-height: 1.8;
}

/* ================= SOCIAL ================= */
.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.footer-social a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.1);

  display: flex;
  align-items: center;
  justify-content: center;

  color: #fff;
  font-size: 18px;
  text-decoration: none;

  transition: 0.4s ease;
}

.footer-social a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-5px) scale(1.08);
  box-shadow: 0 10px 20px rgba(255, 102, 0, 0.3);
}

/* ================= LINKS ================= */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  font-size: 15px;
}

.footer-links a i {
  color: var(--accent) !important;
  font-size: 12px;
  min-width: 12px;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

/* ================= APPLY BUTTON ================= */
.btn-accent {
  background: var(--accent);
  color: #fff;
  padding: 14px 32px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.4s ease;
  display: inline-block;
}

.btn-accent:hover {
  background: #fff;
  color: #000;
  transform: translateY(-3px);
}

/* ================= ADMISSION ================= */
.footer-admission {
  margin-top: 42px;
  margin-bottom: 8px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-admission h3 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
}

.footer-admission-item {
  color: #f2f2f2;
  font-size: 15px;
  font-weight: 500;
}

.footer-admission-item i {
  color: var(--accent) !important;
  font-size: 13px;
}

.footer-admission-item strong {
  color: #fff;
  font-weight: 600;
}

/* ================= FOOTER BOTTOM ================= */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 32px;
  padding-top: 15px;
  font-size: 13px;
  color: #aaa;

  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

/* If you have bottom right area with social + designer text */
.footer-right-area {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: nowrap;
}

.footer-designed {
  color: #cfcfcf;
  font-size: 14px;
  margin: 0;
  white-space: nowrap;
  line-height: 1;
}

.footer-copy {
  color: #cfcfcf;
  font-size: 14px;
}

/* ================= BACK TO TOP ================= */
#backToTop {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  cursor: pointer;
  transition: 0.3s ease;
}

#backToTop:hover {
  transform: translateY(-5px);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 991px) {
  .footer-heading {
    font-size: 24px;
  }

  .footer-admission h3 {
    font-size: 22px;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }

  .footer-right-area {
    justify-content: center;
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }

  .footer-copy {
    text-align: center;
  }
}

@media (max-width: 576px) {
  .site-footer {
    padding: 50px 0 20px;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-links a:hover {
    padding-left: 0;
  }

  .btn-accent {
    width: 100%;
    text-align: center;
  }

  .footer-bottom {
    font-size: 12px;
  }
}

/* ================= BACK TO TOP ================= */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 25px;
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
  cursor: pointer;
}

#backToTop:hover {
  background: var(--accent-dark);
  transform: translateY(-3px);
}

#backToTop i {
  color: #fff !important;
  font-size: 18px;
}

/* ================= POPUP ================= */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 15px;
  box-sizing: border-box;
  animation: popupFade 0.35s ease;
}

.popup-box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 95vw;
  max-height: 95vh;
}

.popup-img {
  max-width: 95vw;
  max-height: 95vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Clean close button */
.popup-close {
  position: absolute;
  top: -2px;
  left: -2px;                /* moved to top-right */
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  
  color: #333;
  font-size: 19px;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  transition: all 0.25s ease;
  line-height: 1;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.popup-close:hover {
  background: #f11800;
  color: #ff5a00;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(92, 29, 22, 0.4);
}

/* Fade animation */
@keyframes popupFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes popupFade {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ================= CONTACT PAGE ================= */
.contact-page-section {
  background-color: #ffe4d2;
  padding: 40px 0 60px;
}

.contact-info-panel {
  background: #ffffff;
  padding: 35px 30px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.contact-heading {
  font-weight: 700;
  background: #ff5a00;
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 6px;
  margin: 20px 0 16px;
  display: inline-block;
  font-size: 18px;
}

.contact-heading:first-child {
  margin-top: 0;
}

.contact-info-box {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.contact-icon-circle {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: #eef3f1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: #1f7a45;
  flex-shrink: 0;
}

.contact-info-text h6 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 3px;
  color: #1d2b1f;
}

.contact-info-text p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: #5c665f;
}

.contact-form-panel {
  background: #ffffff;
  padding: 35px 30px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.contact-form-panel h3 {
  font-weight: 700;
  color: #1d2b1f;
  font-size: 24px;
}

.college-location-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #495057;
  background-color: #f8f9fa;
  padding: 1rem 1.25rem;
  border-left: 4px solid #ff5a00; /* Use your layout's theme highlight color here */
  border-radius: 4px 8px 8px 4px;
}

.college-quick-info {
  background: #f4f7f6;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #e2e6e3;
  margin-bottom: 5px;
}

.quick-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.quick-info-item:last-child {
  margin-bottom: 0;
}

.quick-icon-circle {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: #e6f4ea;
  color: #1f7a45;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.quick-info-item h6 {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 3px;
  color: #1d2b1f;
}

.quick-info-item p {
  margin: 0;
  font-size: 14px;
  color: #5c665f;
  line-height: 1.5;
}

.clean-form .form-control {
  border-radius: 10px;
  padding: 12px 14px;
  border: 1px solid #dcdcdc;
  font-size: 14px;
  transition: 0.3s ease;
}

.clean-form .form-control:focus {
  border-color: #198754;
  box-shadow: 0 0 0 0.15rem rgba(25, 135, 84, 0.15);
  outline: none;
}

.clean-form textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

.map-full iframe {
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ================= EVENTS PAGE ================= */
.events-page-section {
  background-color: #ffe4d2;
}

/* ================= EVENT CARD ================= */
.event-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

/* ================= EVENT IMAGE ================= */
.event-image-wrap {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.event-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.event-card:hover .event-image-wrap img {
  transform: scale(1.08);
}

/* ================= EVENT CONTENT ================= */
.event-content {
  padding: 22px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.event-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
  line-height: 1.4;
}

/* ================= EVENT META (Date & Location) ================= */
.event-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
}

.event-meta i {
  color: var(--accent);
  font-size: 15px;
  min-width: 18px;
}

/* ================= EVENT DESCRIPTION ================= */
.event-description {
  font-size: 14px;
  line-height: 1.7;
  color: #555;
  margin-top: 10px;
  flex: 1;
}
/* ================= DEV TEAM PAGE ================= */
.devteam-header {
  background-color: #ffe4d2;
}

.devteam-section {
  background-color: #ffe4d2;
}

/* ================= TEAM CARD ================= */
.team-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

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

/* ================= TEAM IMAGE ================= */
.team-img-wrap {
  width: 100%;
  height: 260px;
  overflow: hidden;
  position: relative;
}

.team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover .team-img {
  transform: scale(1.05);
}

/* ================= TEAM CONTENT ================= */
.team-content {
  padding: 22px 20px 24px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.team-name {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 4px;
  line-height: 1.3;
}

.team-role {
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}

.team-bio {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
  flex: 1;
}

/* ================= SOCIAL ICONS ================= */
.team-social {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: auto;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  color: #fff;
}

.social-link.linkedin {
  background: #0077b5;
}

.social-link.github {
  background: #333;
}

.social-link.email {
  background: #28a745;
}
/* ================= PRESIDENT MESSAGE PAGE ================= */
.president-section {
  background-color: #ffe4d2;
}

/* ================= PROFILE CARD ================= */
.president-profile-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.president-photo-wrap {
  width: 100%;
  padding: 0;
  margin: 0;
}

.president-photo {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.president-profile-info {
  padding: 25px 20px;
  text-align: center;
}

.president-name {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 6px;
  line-height: 1.3;
}

.president-designation {
  font-size: 15px;
  color: #666;
  font-weight: 500;
  margin: 0;
  line-height: 1.5;
}

/* ================= MESSAGE CARD ================= */
.president-message-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 35px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.message-title {
  font-size: 26px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
}

.message-content {
  font-size: 16px;
  line-height: 1.6;
  color: #444;
  text-align: justify;
}

.message-content p {
  margin-bottom: 10px;
}

.message-content br {
  display: block;
  content: "";
  margin-bottom: 6px;
}

/* ================= PRINCIPAL MESSAGE PAGE ================= */
.principal-section {
  background-color: #ffe4d2;
}

/* ================= PROFILE CARD ================= */
.principal-profile-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.principal-photo-wrap {
  width: 100%;
  padding: 0;
  margin: 0;
}

.principal-photo {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.principal-profile-info {
  padding: 25px 20px;
  text-align: center;
}

.principal-name {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 6px;
  line-height: 1.3;
}

.principal-designation {
  font-size: 15px;
  color: #666;
  font-weight: 500;
  margin: 0;
  line-height: 1.5;
}

/* ================= MESSAGE CARD ================= */
.principal-message-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 35px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.message-title {
  font-size: 26px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
}

.message-content {
  font-size: 16px;
  line-height: 1.6;
  color: #444;
  text-align: justify;
}

.message-content p {
  margin-bottom: 10px;
}

.message-content br {
  display: block;
  content: "";
  margin-bottom: 6px;
}

/* ================= TRAINING & PLACEMENT PAGE ================= */
.tp-section {
  background-color: #ffe4d2;
}

/* ================= PHOTO CARD ================= */
.tp-photo-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

.tp-photo-wrap {
  width: 100%;
  padding: 0;
  margin: 0;
}

.tp-photo {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: cover;
  display: block;
}

.tp-caption {
  padding: 18px 20px;
  text-align: center;
  font-weight: 600;
  font-size: 18px;
  color: #1a1a1a;
  background: #fff;
  border-top: 1px solid #f0f0f0;
}

/* ================= CONTENT CARD ================= */
.tp-content-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 35px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

.tp-title {
  font-size: 28px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
  line-height: 1.3;
}

.tp-text {
  font-size: 16px;
  line-height: 1.9;
  color: #333;
  text-align: justify;
}

.tp-text p {
  margin-bottom: 16px;
}

.tp-empty {
  padding: 40px 0;
}
/* ================= GOVERNING BODY PAGE ================= */
.governing-section {
  background-color: #ffe4d2;
}

/* ================= TABLE WRAPPER ================= */
.governing-table-wrap {
  background: #ffffff;
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* ================= TABLE ================= */
.governing-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.governing-table thead th {
  background: #f1f3f5;
  color: #1a1a1a;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 16px;
  border-bottom: 2px solid #dee2e6;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.governing-table thead th.name-col {
  text-align: left;
}

.governing-table tbody td {
  padding: 14px 16px;
  vertical-align: middle;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
  color: #333;
}

.governing-table tbody tr:hover {
  background: #fafafa;
}

.governing-table tbody tr:last-child td {
  border-bottom: none;
}

/* ================= COLUMN WIDTHS ================= */
.sl-col {
  width: 70px;
  text-align: center;
  font-weight: 600;
  color: var(--accent);
}

.img-col {
  width: 100px;
  text-align: center;
}

.name-col {
  font-weight: 600;
  color: #1a1a1a;
  font-size: 15px;
}

.desig-col {
  width: 200px;
  text-align: center;
  color: #555;
}

/* ================= MEMBER IMAGE ================= */
.governing-img {
  width: 65px;
  height: 65px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #eef3f1;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

.governing-table tbody tr:hover .governing-img {
  transform: scale(1.1);
}

/* ================= RESPONSIVE TABLE ================= */
.table-responsive {
  border-radius: 12px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .governing-table-wrap {
    padding: 15px;
  }

  .governing-table thead th,
  .governing-table tbody td {
    padding: 10px 8px;
    font-size: 13px;
  }

  .governing-img {
    width: 45px;
    height: 45px;
  }

  .sl-col { width: 50px; }
  .img-col { width: 60px; }
  .desig-col { width: auto; }
}
/* ================= HOSTEL PAGE ================= */
.hostel-section {
  background-color: #ffe4d2;
}

/* ================= TITLE UNDERLINE ================= */
.title-underline {
  width: 80px;
  height: 3px;
  background: var(--accent);
  margin: 12px auto 0;
  border-radius: 3px;
}

/* ================= HOSTEL CARD ================= */
.hostel-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 35px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.hostel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.hostel-card-title {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0f0f0;
}

.hostel-card-content {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 25px;
}

/* ================= GALLERY TITLE ================= */
.hostel-gallery-title {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 15px;
  padding-top: 15px;
  border-top: 2px solid #f0f0f0;
}

/* ================= GALLERY GRID ================= */
.hostel-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* ================= GALLERY BOX ================= */
.gallery-box {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.gallery-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.gallery-box a {
  display: block;
  width: 100%;
  height: 100%;
}

.hostel-gallery-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
  cursor: pointer;
}

.hostel-gallery-img:hover {
  transform: scale(1.08);
}

/* ================= RESPONSIVE GALLERY ================= */
@media (max-width: 991px) {
  .hostel-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  
  .hostel-gallery-img {
    height: 180px;
  }
}

@media (max-width: 767px) {
  .hostel-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  
  .hostel-card {
    padding: 20px 15px;
  }
  
  .hostel-gallery-img {
    height: 160px;
  }
}

@media (max-width: 480px) {
  .hostel-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  
  .hostel-gallery-img {
    height: 140px;
  }
}

/* ================= IMAGE MODAL ================= */
#imageModal .modal-dialog {
  max-width: 90vw;
}

#imageModal #modalImage {
  max-height: 85vh;
  object-fit: contain;
}
/* ================= GALLERY PAGE ================= */
.gallery-section {
  background-color: #ffe4d2;
}

/* ================= GALLERY IMAGE CARD ================= */
.gallery-image-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.35s ease;
  height: 100%;
}

.gallery-image-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.gallery-image-wrap {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  cursor: pointer;
}

.gallery-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-image-card:hover .gallery-main-image {
  transform: scale(1.1);
}

/* ================= GALLERY OVERLAY ================= */
.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-image-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  color: #fff;
  font-size: 40px;
}

/* ================= LIGHTBOX ================= */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  cursor: pointer;
}

.lightbox-content {
  display: block;
  max-width: 90%;
  max-height: 90%;
  margin: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 12px;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: #fff;
  font-size: 45px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
  transition: color 0.3s ease;
}

.lightbox-close:hover {
  color: var(--accent);
}
/* ================= NEWS PAGE ================= */
.news-section {
  background-color: #ffe4d2;
}

/* ================= NEWS CARD ================= */
.news-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 25px 28px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
  border-left-color: var(--accent);
}

/* ================= NEWS DATE BADGE ================= */
.news-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 90, 0, 0.1);
  color: #d00000;
  font-size: 14px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 25px;
  margin-bottom: 14px;
}

.news-date-badge::before {
  content: "➤";
  color: var(--accent);
  font-size: 16px;
  font-weight: bold;
  animation: blinkArrow 1s infinite;
}

@keyframes blinkArrow {
  0% { opacity: 1; transform: translateX(0); }
  50% { opacity: 0.2; transform: translateX(4px); }
  100% { opacity: 1; transform: translateX(0); }
}

/* ================= NEWS CONTENT ================= */
.news-card-content {
  font-size: 15px;
  line-height: 1.7;
  color: #333;
}

.news-link {
  font-weight: 600;
  color: #c40000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.news-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

.blink-arrow {
  color: var(--accent);
  font-weight: bold;
  animation: blinkArrow 1s infinite;
}

/* ================= PDF BUTTON ================= */
.news-pdf-btn {
  display: inline-flex;
  align-items: center;
  background: #dc3545;
  color: #fff;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.news-pdf-btn:hover {
  background: #c82333;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(220, 53, 69, 0.3);
}

/* ================= CAMPUS LIFE PAGE ================= */
.campus-section {
  background-color: #ffe4d2;
}

/* ================= CAMPUS CARD ================= */
.campus-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.campus-card-link:hover {
  color: inherit;
}

.campus-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
}

.campus-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

/* ================= CAMPUS CARD IMAGE ================= */
.campus-card-img-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.campus-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.campus-card:hover .campus-card-img {
  transform: scale(1.08);
}

/* ================= CAMPUS CARD BODY ================= */
.campus-card-body {
  padding: 24px 22px 28px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.campus-card-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
  line-height: 1.3;
}

.campus-card-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

/* ================= CAMPUS CARD BUTTON ================= */
.campus-card-btn {
  display: inline-block;
  padding: 12px 32px;
  border: 2px solid var(--accent);
  color: var(--accent);
  background: transparent;
  border-radius: 40px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  margin-top: auto;
  align-self: center;
}

.campus-card:hover .campus-card-btn {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 90, 0, 0.3);
  transform: translateY(-2px);
}

/* ================= ADMISSION PAGE ================= */
.admission-page-section {
  background-color: #ffe4d2;
}

/* ================= ACCORDION WRAPPER ================= */
.admission-accordion-wrap {
  background: #ffffff;
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* ================= ACCORDION ITEM ================= */
.admission-item {
  border: none;
  margin-bottom: 12px;
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.admission-item:last-child {
  margin-bottom: 0;
}

/* ================= ACCORDION BUTTON ================= */
.admission-accordion-btn {
  font-weight: 600;
  font-size: 16px;
  padding: 16px 20px;
  background: #f8f9fa;
  color: #1a1a1a;
  border: none;
  border-radius: 12px !important;
  transition: all 0.3s ease;
}

.admission-accordion-btn:not(.collapsed) {
  background: #ffffff;
  color: var(--accent);
  box-shadow: none;
}

.admission-accordion-btn:focus {
  box-shadow: none;
  border-color: transparent;
}

.admission-accordion-btn::after {
  background-size: 14px;
}

/* ================= REDIRECT BUTTON ================= */
.admission-redirect-btn {
  font-weight: 600;
  font-size: 16px;
  padding: 16px 20px;
  background: #f8f9fa;
  color: #1a1a1a;
  border: none;
  border-radius: 12px !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  transition: all 0.3s ease;
}

.admission-redirect-btn:hover {
  background: #e9ecef;
}

.redirect-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
}

/* ================= ACCORDION BODY ================= */
.admission-body {
  padding: 20px 25px;
  background: #ffffff;
}

/* ================= ADMISSION LIST ================= */
.admission-list {
  padding-left: 20px;
  margin: 0;
}

.admission-list li {
  margin-bottom: 10px;
  line-height: 1.7;
  color: #444;
  font-size: 15px;
}

.admission-list li::marker {
  color: var(--accent);
  font-weight: bold;
}

/* ================= ADMISSION GALLERY ================= */
.admission-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.admission-gallery-img {
  width: 200px;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.admission-gallery-img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

/* ================= NAIN PAGE ================= */
.nain-page-section {
  background-color: #ffe4d2;
  padding: 50px 0;
}

/* ================= BANNER ================= */
.nain-banner {
  text-align: center;
  margin-bottom: 35px;
  padding: 0 15px;
}

.nain-main-title {
  font-size: 28px;
  font-weight: 800;
  color: #8B0000;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  line-height: 1.4;
}

.nain-subtitle {
  font-size: 16px;
  color: #555;
  font-style: italic;
  margin: 0;
  font-weight: 500;
}

/* ================= BUTTON BADGES ROW ================= */
.nain-buttons-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  padding: 0 15px;
}

.nain-badge-btn {
  display: inline-block;
  background: #8B0000;
  color: #ffffff !important;
  padding: 14px 35px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
  min-width: 180px;
  box-shadow: 0 4px 15px rgba(139, 0, 0, 0.2);
  border: 2px solid #8B0000;
}

.nain-badge-btn:hover {
  background: #a50000;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(139, 0, 0, 0.35);
  color: #ffffff !important;
  text-decoration: none;
  border-color: #a50000;
}

/* ================= DESCRIPTION ================= */
.nain-description {
  margin-bottom: 45px;
  padding: 0 15px;
}

.nain-desc-title {
  font-size: 22px;
  font-weight: 700;
  color: #8B0000;
  margin-bottom: 20px;
  text-align: center;
  text-transform: uppercase;
}

.nain-description p {
  font-size: 16px;
  color: #333;
  line-height: 1.9;
  margin-bottom: 20px;
  text-align: justify;
}

.nain-description p:last-child {
  margin-bottom: 0;
}

.nain-description strong {
  color: #8B0000;
  font-weight: 700;
}

.nain-desc-image {
  margin-bottom: 30px;
}

.nain-desc-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* ================= VISION & MISSION ROW ================= */
.nain-vm-row {
  display: flex;
  gap: 30px;
  margin-bottom: 50px;
  padding: 0 15px;
}

.nain-vm-box {
  flex: 1;
  background: #ffffff;
  border-radius: 12px;
  padding: 35px 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-left: 6px solid #8B0000;
  transition: all 0.3s ease;
}

.nain-vm-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.nain-vm-title {
  font-size: 24px;
  font-weight: 800;
  color: #8B0000;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  padding-bottom: 10px;
}

.nain-vm-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: #8B0000;
  border-radius: 2px;
}

.nain-vm-box p {
  font-size: 15px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 15px;
  text-align: justify;
}

.nain-vm-box p:last-child {
  margin-bottom: 0;
}

.nain-vm-box img {
  max-width: 100%;
  border-radius: 8px;
  margin-top: 15px;
}

/* ================= EXTRA CONTENT ================= */
.nain-additional {
  margin-top: 20px;
  padding: 0 15px;
}

.nain-extra-item {
  margin-bottom: 40px;
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.nain-extra-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.nain-extra-img {
  margin-bottom: 20px;
}

.nain-extra-img img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.nain-extra-item h4 {
  color: #8B0000;
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nain-extra-item p {
  color: #555;
  line-height: 1.8;
  font-size: 15px;
  margin-bottom: 0;
  text-align: justify;
}

/* ================= NO DATA STATE ================= */
.nain-empty-state {
  text-align: center;
  padding: 60px 20px;
}

.nain-empty-state i {
  font-size: 64px;
  color: #8B0000;
  opacity: 0.3;
  margin-bottom: 20px;
  display: block;
}

.nain-empty-state p {
  color: #999;
  font-size: 18px;
  margin: 0;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .nain-main-title {
    font-size: 24px;
  }
  
  .nain-vm-row {
    gap: 20px;
  }
  
  .nain-vm-box {
    padding: 25px 20px;
  }
  
  .nain-badge-btn {
    min-width: 150px;
  }
}

@media (max-width: 768px) {
  .nain-page-section {
    padding: 35px 0;
  }

  .nain-main-title {
    font-size: 20px;
    letter-spacing: 0.5px;
  }

  .nain-subtitle {
    font-size: 14px;
  }

  .nain-vm-row {
    flex-direction: column;
    gap: 20px;
  }

  .nain-buttons-row {
    gap: 12px;
    margin-bottom: 30px;
  }

  .nain-badge-btn {
    padding: 12px 25px;
    font-size: 14px;
    min-width: 140px;
  }

  .nain-description p {
    text-align: left;
    font-size: 15px;
  }

  .nain-desc-title {
    font-size: 20px;
  }

  .nain-vm-title {
    font-size: 20px;
  }

  .nain-vm-box {
    padding: 20px;
  }

  .nain-vm-box p {
    font-size: 14px;
  }

  .nain-extra-item {
    padding: 20px;
    margin-bottom: 25px;
  }

  .nain-extra-item h4 {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .nain-main-title {
    font-size: 18px;
  }

  .nain-buttons-row {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .nain-badge-btn {
    width: 100%;
    max-width: 280px;
    padding: 12px 20px;
    font-size: 14px;
  }

  .nain-description p {
    font-size: 14px;
    line-height: 1.7;
  }

  .nain-vm-box {
    padding: 18px;
  }
}

/* ================= PRINT STYLES ================= */
@media print {
  .nain-page-section {
    background-color: #ffffff !important;
  }
  
  .nain-badge-btn,
  .nain-vm-box,
  .nain-extra-item {
    box-shadow: none !important;
    break-inside: avoid;
  }
  
  .nain-badge-btn {
    border: 2px solid #000;
    color: #000 !important;
    background: none !important;
  }
}

/* ================= MANDATORY DISCLOSURE PAGE ================= */
.mandatory-section {
  background-color: #ffe4d2;
}

/* ================= DOCUMENTS LIST WRAPPER ================= */
.mandatory-list-wrap {
  max-width: 800px;
  margin: 0 auto;
}

/* ================= MANDATORY ITEM ================= */
.mandatory-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  margin-bottom: 12px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.mandatory-item:hover {
  background: #fafafa;
  border-color: var(--accent);
  transform: translateX(6px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  color: #333;
}

/* ================= PDF ICON ================= */
.mandatory-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 10px;
  background: #fef2f2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mandatory-icon i {
  font-size: 22px;
  color: #dc3545;
}

.mandatory-item:hover .mandatory-icon {
  background: #dc3545;
}

.mandatory-item:hover .mandatory-icon i {
  color: #fff;
}

/* ================= TITLE ================= */
.mandatory-title {
  flex: 1;
  line-height: 1.4;
}

/* ================= DOWNLOAD ARROW ================= */
.mandatory-arrow {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.mandatory-arrow i {
  font-size: 16px;
  color: #666;
}

.mandatory-item:hover .mandatory-arrow {
  background: var(--accent);
}

.mandatory-item:hover .mandatory-arrow i {
  color: #fff;
}

/* ================= DEPARTMENT HEADER ================= */
.dept-header-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  padding: 45px 0;
  border-bottom: 4px solid var(--accent);
  position: relative;
  overflow: hidden;
}

/* Subtle pattern overlay */
.dept-header-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 90, 0, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255, 90, 0, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.dept-header-section h2 {
  color: #ffffff;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.5px;
  position: relative;
}

.dept-header-section p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 16px;
  position: relative;
}

.dept-tabs-section {
  background-color: #ffe4d2;
}

/* ================= TABS ================= */
.dept-nav-tabs {
  border-bottom: none;
  gap: 8px;
  justify-content: center;
}

.dept-nav-tabs .nav-link {
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-weight: 500;
  color: #444;
  background: #fff;
  transition: all 0.3s ease;
}

.dept-nav-tabs .nav-link:hover {
  color: var(--accent);
  background: #fff;
}

.dept-nav-tabs .nav-link.active {
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}

/* ================= TAB CONTENT ================= */
.dept-tab-content {
  background: #fff;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

/* ================= CONTENT ================= */
.dept-content {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
}

.dept-paragraph {
  margin-bottom: 16px;
}

.dept-list {
  padding-left: 20px;
  margin-bottom: 16px;
}

.dept-list li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.dept-list li::marker {
  color: var(--accent);
  font-weight: bold;
}

/* ================= MAIN IMAGE ================= */
.dept-main-img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 12px;
}

/* ================= HIGHLIGHT BOX ================= */
.dept-highlight-box {
  background: #f8f9fa;
  padding: 24px;
  border-radius: 12px;
  border-left: 4px solid var(--accent);
}

.dept-highlight-icon {
  font-size: 40px;
  color: var(--accent);
}

/* ================= FACULTY CARD ================= */
.dept-faculty-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.dept-faculty-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.dept-faculty-img-wrap {
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.dept-faculty-img {
  width: 100%;
  /* height: 100%; */
  object-fit: cover;
  transition: transform 0.4s ease;
}

.dept-faculty-card:hover .dept-faculty-img {
  transform: scale(1.05);
}

.dept-faculty-body {
  padding: 18px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.dept-faculty-name {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.dept-faculty-designation {
  font-size: 13px;
  color: #777;
  margin-bottom: 10px;
  flex: 1;
}

/* ================= INFRA IMAGE ================= */
.dept-infra-img {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  border-radius: 12px;
}

/* ================= DOC LIST ================= */
.dept-doc-list .list-group-item {
  padding: 14px 18px;
  border: 1px solid #eee;
  margin-bottom: 8px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.dept-doc-list .list-group-item:hover {
  background: #fafafa;
}

/* ================= PROFILE MODAL IMAGE ================= */
.dept-profile-modal-img {
  width: 100%;
  height: auto;
  max-height: 150vh;
  object-fit: contain;
}
/* ================= SEARCH PAGE ================= */
.search-section {
  background-color: #ffe4d2;
}
/* ================= 404 ERROR PAGE ================= */
.error-section {
  background-color: #ffe4d2;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
}

.error-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 50px 40px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

/* ================= ERROR CODE ================= */
.error-code {
  font-size: 100px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: 4px;
  opacity: 0.9;
}

/* ================= ERROR ICON ================= */
.error-icon i {
  font-size: 48px;
  color: #ccc;
}

/* ================= ERROR TITLE ================= */
.error-title {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 15px;
}

/* ================= ERROR TEXT ================= */
.error-text {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 25px;
}

.error-text strong {
  color: #333;
  word-break: break-all;
}

/* ================= SEARCH INPUT ================= */
.error-search .form-control {
  border-radius: 10px 0 0 10px;
  border: 1px solid #ddd;
  padding: 12px 16px;
  font-size: 14px;
}

.error-search .form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 0.15rem rgba(255, 90, 0, 0.15);
}

.error-search .btn-accent {
  border-radius: 0 10px 10px 0;
  padding: 12px 18px;
}

/* ================= SUGGESTIONS ================= */
.suggest-box {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
  text-align: left;
}

.suggest-link {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.suggest-link:hover {
  background: var(--accent);
  color: #fff;
}

.suggest-link i {
  color: var(--accent);
  font-size: 16px;
}

.suggest-link:hover i {
  color: #fff;
}
/* ================= THANK YOU PAGE ================= */
.thankyou-section {
  background-color: #ffe4d2;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
}

.thankyou-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 50px 40px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

/* ================= CHECKMARK ================= */
.thankyou-checkmark {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #198754;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  animation: scaleIn 0.5s ease;
}

.thankyou-checkmark i {
  font-size: 44px;
  color: #fff;
  font-weight: bold;
}

@keyframes scaleIn {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); opacity: 1; }
}

/* ================= TITLE ================= */
.thankyou-title {
  font-size: 30px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
}

/* ================= MESSAGE ================= */
.thankyou-message {
  font-size: 16px;
  color: #333;
  font-weight: 500;
  margin-bottom: 6px;
}

.thankyou-sub {
  font-size: 14px;
  color: #888;
  margin-bottom: 0;
}

/* ================= COUNTDOWN ================= */
.thankyou-countdown {
  font-size: 13px;
  color: #aaa;
}

.thankyou-countdown span {
  font-weight: 700;
  color: var(--accent);
}

/* ================= BLOGS PAGE (Shared Background) ================= */
.blogs-page-section {
  background-color: #ffe4d2;
}

/* ================= BLOG LISTING HEADER ================= */
.blogs-main-title {
  font-size: 32px;
  font-weight: 800;
  color: #8B0000;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blogs-subtitle {
  font-size: 16px;
  color: #555;
  font-style: italic;
}

/* ================= SEARCH BAR ================= */
.blog-search .input-group {
  box-shadow: 0 4px 15px rgba(139, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.blog-search .btn-primary {
  background: #8B0000;
  border-color: #8B0000;
}

.blog-search .btn-primary:hover {
  background: #6b0000;
  border-color: #6b0000;
}

/* ================= BLOG CARD ================= */
.blog-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.blog-card-link:hover {
  text-decoration: none;
  color: inherit;
}

.blog-card-link .blog-card {
  height: 100%;
  cursor: pointer;
}

.blog-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(139, 0, 0, 0.15);
}

.blog-card-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.08);
}

.blog-card-body {
  padding: 24px 20px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
  color: #222;
}

.blog-excerpt {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 15px;
  flex: 1;
}

.blog-meta {
  font-size: 13px;
  color: #888;
  margin-bottom: 12px;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.btn-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #8B0000;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 18px;
  border: 2px solid #8B0000;
  border-radius: 50px;
  margin-top: auto;

  /* the magic: invisible gradient that grows */
  background: linear-gradient(to right, #8B0000, #8B0000) no-repeat;
  background-size: 0% 100%;
  background-position: left;
  background-color: transparent;

  position: relative;
  transition:
    background-size 0.45s ease,
    color 0.35s ease,
    padding-right 0.3s ease,
    box-shadow 0.35s ease;
}

/* arrow that moves on hover */
.btn-read-more::after {

  font-size: 14px;
  transition: transform 0.3s ease;
}

/* hover – the fill slides in, text becomes white */
.btn-read-more:hover {
  background-size: 100% 100%;
  color: #fff;
  padding-right: 24px;
  box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
}

.btn-read-more:hover::after {
  transform: translateX(4px);
}

.btn-read-more:hover,
.btn-read-more:focus {
  text-decoration: none;
}

/* ================= TAGS (SHARED) ================= */
.tag {
  background: #f0f0f0;
  color: #555;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.tag:hover {
  background: #8B0000;
  color: #fff;
}

.blog-card-link .tag {
  position: relative;
  z-index: 2;
  cursor: pointer;
}

.blog-detail-tags .tag {
  padding: 6px 15px;
  font-size: 13px;
}

/* ================= PAGINATION ================= */
.pagination .page-item.active .page-link {
  background-color: #8B0000;
  border-color: #8B0000;
}

.pagination .page-link:hover {
  color: #8B0000;
}

/* ================= BLOG DETAIL ================= */
.blog-divider {
  border: none;
  border-top: 1px solid #e0e0e0;
  opacity: 1;
}

.breadcrumb-item a {
  color: #8B0000;
  text-decoration: none;
}

.breadcrumb-item a:hover {
  color: #6b0000;
}

.breadcrumb-item.active {
  color: #666;
}

/* Featured Image */
.blog-detail-img-wrap {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.blog-detail-img {
  width: 100%;
  max-height: 450px;
  object-fit: cover;
  display: block;
}

/* Meta */
.blog-detail-meta {
  font-size: 14px;
  color: #888;
}

/* Title */
.blog-detail-title {
  font-size: 36px;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.3;
}

/* Excerpt */
.blog-detail-excerpt .lead {
  font-size: 18px;
  color: #555;
  line-height: 1.8;
}

/* ================= BLOG BODY CONTENT (Your New Class) ================= */
.blog-body-content {
  font-size: 16px;
  line-height: 1.9;
  color: #333;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  background-color: #fff;
}

.blog-body-content h2 {
  font-size: 28px;
  color: #8B0000;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 700;
}

.blog-body-content h3 {
  font-size: 22px;
  color: #8B0000;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 700;
}

.blog-body-content h4 {
  font-size: 18px;
  color: #8B0000;
  margin-top: 25px;
  margin-bottom: 12px;
  font-weight: 700;
}

.blog-body-content p {
  margin-bottom: 20px;
  text-align: justify;
}

.blog-body-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 25px auto;
  display: block;
}

.blog-body-content ul,
.blog-body-content ol {
  margin-bottom: 20px;
  padding-left: 25px;
}

.blog-body-content li {
  margin-bottom: 10px;
}

.blog-body-content strong {
  color: #222;
}

.blog-body-content blockquote {
  border-left: 4px solid #8B0000;
  padding: 20px 25px;
  margin: 25px 0;
  background: #fff;
  border-radius: 0 10px 10px 0;
  font-style: italic;
  color: #555;
}

/* ================= SHARE BUTTONS ================= */
.blog-share h5 {
  color: #252525;
  font-weight: 600;
}

.btn-share {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-share:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-share-facebook {
  background: #1877f2;
  color: #fff;
}

.btn-share-facebook:hover {
  background: #166fe5;
  color: #fff;
}

.btn-share-instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
}

.btn-share-instagram:hover {
  background: linear-gradient(45deg, #d9802e, #cc5c35, #c5223b, #b81f5c, #a31578);
  color: #fff;
}

.btn-share-linkedin {
  background: #0a66c2;
  color: #fff;
}

.btn-share-linkedin:hover {
  background: #0955a0;
  color: #fff;
}

.btn-share-whatsapp {
  background: #25d366;
  color: #fff;
}

.btn-share-whatsapp:hover {
  background: #20bd5a;
  color: #fff;
}

.btn-share-copy {
  background: #6c757d;
  color: #fff;
}

.btn-share-copy:hover {
  background: #5a6268;
  color: #fff;
}

/* ================= BACK TO BLOG BUTTON ================= */
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8B0000;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border: 2px solid #8B0000;
  border-radius: 8px;

  /* slow fill animation */
  background: linear-gradient(to right, #8B0000, #8B0000) no-repeat;
  background-size: 0% 100%;
  background-position: left;
  background-color: transparent;

  transition:
    background-size 0.45s ease,
    color 0.35s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;

  position: relative;
  z-index: 1;
}

.btn-back i {
  transition: color 0.35s ease;
}

.btn-back:hover {
  background-size: 100% 100%;
  color: #fff !important;
  transform: translateX(-3px);
  box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
}

/* ensure the arrow icon turns white */
.btn-back:hover i {
  color: #fff !important;
}

.btn-back:hover,
.btn-back:focus {
  text-decoration: none;
}

/* =====================================================
   HOMEPAGE SECTIONS STYLES
   Inspired by University of Chicago Design
   ===================================================== */

/* Section Base Styles */
.homepage-section {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Alternating Background Colors */
.homepage-section:nth-child(even) {
    background: #f8f9fa;
}

/* Section Container */
.homepage-section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Section Wrapper (Flex Layout) */
.homepage-section-wrapper {
    display: flex;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
}

/* Image Side - Right Side Layout (Default) */
.homepage-section:not(.section-left) .homepage-section-wrapper {
    flex-direction: row;
}

/* Image Side - Left Side Layout */
.homepage-section.section-left .homepage-section-wrapper {
    flex-direction: row-reverse;
}

/* Image Styles */
.homepage-section-image {
    flex: 1;
    min-width: 280px;
}

.homepage-section-image img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.homepage-section-image img:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

/* Content Styles */
.homepage-section-content {
    flex: 1;
    min-width: 280px;
}

/* Section Title */
.homepage-section-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    line-height: 1.2;
    letter-spacing: -0.02em;
    position: relative;
}

/* Title Underline Effect (Optional) */
.homepage-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #ff5a00;
    margin-top: 15px;
    border-radius: 2px;
}

/* Title alignment for left-aligned sections */
.homepage-section.section-left .homepage-section-title::after {
    margin-left: 0;
}

/* Content Text */
.homepage-section-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
}

.homepage-section-text p {
    margin-bottom: 1.2rem;
}

/* Headings within content */
.homepage-section-text h1,
.homepage-section-text h2,
.homepage-section-text h3,
.homepage-section-text h4 {
    margin: 1.5rem 0 1rem;
    color: #2c3e50;
}

.homepage-section-text h2 {
    font-size: 1.8rem;
}

.homepage-section-text h3 {
    font-size: 1.5rem;
}

/* Lists within content */
.homepage-section-text ul,
.homepage-section-text ol {
    margin: 1rem 0 1.5rem 2rem;
    padding-left: 0.5rem;
}

.homepage-section-text li {
    margin-bottom: 0.5rem;
}

.homepage-section-text ul {
    list-style-type: disc;
}

.homepage-section-text ol {
    list-style-type: decimal;
}

/* Blockquotes within content */
.homepage-section-text blockquote {
    border-left: 4px solid #8B0000;
    margin: 1.5rem 0;
    padding: 0.75rem 1.5rem;
    background: #f8f9fa;
    font-style: italic;
    color: #555;
    border-radius: 0 12px 12px 0;
}

/* Images within content */
.homepage-section-text img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1rem 0;
}

/* Links within content */
.homepage-section-text a {
    color: #8B0000;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.homepage-section-text a:hover {
    border-bottom-color: #8B0000;
}

/* Section Button */
.homepage-section-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ff5a00;
    color: white;
    padding: 14px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    letter-spacing: 0.5px;
}

.homepage-section-btn i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.homepage-section-btn:hover {
    background: #ff5a00;
    color: white;
    gap: 15px;
}

.homepage-section-btn:hover i {
    transform: translateX(5px);
}

/* Button outline variant (optional) */
.homepage-section-btn-outline {
    background: transparent;
    border: 2px solid #ff5a00;
    color: #ff5a00;
}

.homepage-section-btn-outline:hover {
    background: #ff5a00;
    color: white;
    gap: 10px;
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */

/* Tablet View */
@media (max-width: 1024px) {
    .homepage-section {
        padding: 80px 0;
    }
    
    .homepage-section-container {
        padding: 0 30px;
    }
    
    .homepage-section-wrapper {
        gap: 50px;
    }
    
    .homepage-section-title {
        font-size: 2.3rem;
    }
    
    .homepage-section-text {
        font-size: 1rem;
    }
}

/* Mobile View */
@media (max-width: 768px) {
    .homepage-section {
        padding: 60px 0;
    }
    
    .homepage-section-container {
        padding: 0 20px;
    }
    
    /* Stack content on mobile (both layouts become column) */
    .homepage-section-wrapper,
    .homepage-section.section-left .homepage-section-wrapper {
        flex-direction: column !important;
        gap: 40px;
    }
    
    .homepage-section-image {
        order: 1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .homepage-section-content {
        order: 2;
        text-align: center;
    }
    
    .homepage-section-title {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .homepage-section-title::after {
        margin: 15px auto 0 auto;
    }
    
    .homepage-section-text {
        text-align: center;
    }
    
    .homepage-section-text ul,
    .homepage-section-text ol {
        text-align: left;
        margin-left: 1.5rem;
    }
    
    .homepage-section-btn {
        margin: 0 auto;
        padding: 12px 28px;
    }
}

/* Small Mobile View */
@media (max-width: 480px) {
    .homepage-section {
        padding: 40px 0;
    }
    
    .homepage-section-title {
        font-size: 1.5rem;
    }
    
    .homepage-section-text {
        font-size: 0.95rem;
    }
    
    .homepage-section-btn {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
    
    .homepage-section-image img {
        border-radius: 16px;
    }
}

/* =====================================================
   ANIMATIONS
   ===================================================== */

/* Fade-in animation on scroll */
.homepage-section {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

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

/* Stagger animation for children */
.homepage-section-image img,
.homepage-section-title,
.homepage-section-text,
.homepage-section-btn {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUpChildren 0.6s ease forwards;
}

.homepage-section-title {
    animation-delay: 0.1s;
}

.homepage-section-text {
    animation-delay: 0.2s;
}

.homepage-section-btn {
    animation-delay: 0.3s;
}

.homepage-section-image img {
    animation-delay: 0.15s;
}

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

/* =====================================================
   PRINT STYLES
   ===================================================== */

@media print {
    .homepage-section {
        padding: 20px 0;
        background: white !important;
        opacity: 1;
        transform: none;
    }
    
    .homepage-section-btn {
        display: none;
    }
    
    .homepage-section-image img {
        box-shadow: none;
    }
}
/* ================= HORIZONTAL OVERFLOW FIX ================= */
html, body {
    overflow-x: clip !important;          /* stronger than hidden, prevents any horizontal scroll */
    width: 100%;
    position: relative;
}

/* force all sections to clip their content */
section, .container, .container-fluid, .row, .col, [class*="col-"] {
    overflow-x: clip;
}

/* announcement bar – ensure wrapper never exceeds viewport */
.announcement-bar-wrapper {
    max-width: calc(100% - 70px);
    overflow-x: clip;
    margin-left: 70px;
}
@media (max-width: 768px) {
    .announcement-bar-wrapper {
        max-width: calc(100% - 55px);
        margin-left: 55px;
    }
}
@media (max-width: 480px) {
    .announcement-bar-wrapper {
        max-width: calc(100% - 48px);
        margin-left: 48px;
    }
}

/* recruiters track – ensure parent fully clips */
.recruiters-box {
    overflow-x: clip;
    position: relative;
}
.recruiters-track {
    will-change: transform;      /* optimises animation without overflow */
    flex-shrink: 0;              /* prevents flex child from forcing parent width */
}

/* any image that might be set to 100vw */
img, .vnec-hero .carousel-item img {
    max-width: 100%;
    width: auto;
}

/* Bootstrap row fix – prevent negative margins from causing overflow */
.row {
    margin-left: 0;
    margin-right: 0;
}
.row > [class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
}