/* index */
:root {
  --top-header-height: 80px;
}

body {
  font-family: 'Open Sans', sans-serif;
  background-color: #f8f8fa;
  color: #333;
  scroll-behavior: smooth;
  padding-top: 0px;
  margin: 0;
  background: url('../assets/bg.jpg') no-repeat center center fixed;
  background-size: cover;
  background-attachment: fixed;
}

h1, h2, h3 {
  font-weight: 600;
}

/* --- Top Header --- */
.top-header {
  width: 100%;
  background: linear-gradient(90deg, #f8f9fa, #dbeafe);
  padding: 1rem 0 1.5rem 0; /* Top, Right, Bottom, Left */
  margin: 0; /* ✅ No external margin */
}

/* Flex layout */
.top-header .container {
  max-width: none;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

/* Left & Right grouped flex */
.left-header, .right-text {
  flex: 0 1 auto;
  z-index: 1;
}

/* Base Styling */
.brand-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-weight: bold;
  color: #1e3a8a;
  font-size: 1.6rem;
  white-space: nowrap;
  padding: 0 10px;
  max-width: 90vw;
}

/* --- Responsive --- */

/* Extra Small Devices (≤ 360px) */
@media (max-width: 360px) {
  .top-header .brand-title {
    font-size: 0.9rem;
    line-height: 1.3;
  }

  .top-header img {
    height: 50px;
  }

  .navbar .nav-link {
    font-size: 0.9rem;
    padding: 0.5rem;
  }

  .carousel-caption {
    font-size: 0.8rem;
  }
}

/* Small Devices (≤ 767.98px) */
@media (max-width: 767.98px) {
  .top-header {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .top-header .container,
  .top-header .d-flex {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    margin-top: 0 !important; 
    gap: 10px; 
    align-items: center;
  }

  .top-header .logo {
    order: 1;
  }

  .top-header .brand-title {
    order: 2;
    position: static;
    transform: none;
    font-size: 1.1rem;
    line-height: 1.4;
    white-space: normal;
    padding: 0 15px;
    max-width: 100%;
    text-align: center;
  }

  .top-header .estd {
    order: 3;
    margin-top: 0.3rem;
    text-align: center;
  }

  .top-header img {
    height: 60px;
  }

  .top-header .text-end {
    text-align: center !important;
  }

  .carousel-item {
    height: 60vh;
    overflow: hidden;
  }

  .carousel-item img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
  }

  body {
    overflow-x: hidden;
  }

  .navbar .nav-link {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    text-align: center;
  }
}

/* Tablets (768px - 991.98px) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .top-header .brand-title {
    font-size: 1.4rem;
    text-align: center;
  }

  .top-header img {
    height: 65px;
  }
}

/* Laptops (992px - 1199.98px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .top-header .brand-title {
    font-size: 1.5rem;
  }

  .top-header img {
    height: 70px;
  }
}

/* Wide Desktop (≥ 1200px) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Styles remain the same */
.top-header img {
  transition: transform .3s, filter .3s;
}
.top-header img:hover {
  transform: scale(1.2);
  filter: brightness(1.2);
}
.right-text small {
  color: #374151;
  font-size: 1.1rem;
}
.right-text strong {
  font-size: 1.25rem;
  color: #1f2937;
}


/* Full-screen overlay */
#page-preloader {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  visibility: visible;
  transition: opacity 1s ease, visibility 1s ease;
}

#page-preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loader-logo {
  width: 140px;
  margin-bottom: 20px;
  animation: fadeInUp 1.2s ease-out both;
}

.loader-dots {
  display: flex;
  gap: 12px;
}

.loader-dots span {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-block;
  animation: wave 1s infinite ease-in-out;
}

/* Individual colors and animation delays */
  .loader-dots span:nth-child(1) { background: #e74c3c; animation-delay: 0s; }
  .loader-dots span:nth-child(2) { background: #f1c40f; animation-delay: 0.15s; }
  .loader-dots span:nth-child(3) { background: #2ecc71; animation-delay: 0.3s; }
  .loader-dots span:nth-child(4) { background: #3498db; animation-delay: 0.45s; }
  .loader-dots span:nth-child(5) { background: #9b59b6; animation-delay: 0.6s; }

@keyframes wave {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
  }

/* Optional: Smooth fade-in logo keyframe */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-out .loader-content {
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

/* Autoplay */
#video-preloader {
  position: fixed;
  top: 0; left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000;
  z-index: 9999;
  transition: opacity 1s ease;
}

.fade-out {
  opacity: 0;
  visibility: hidden;
}

video {
  width: 100%;
  height: 80%;
}

#video-overlay button {
  margin: 0 5px;
  padding: 8px 12px;
  cursor: pointer;
}

/* Mute/unmute and close positioning */
#sound-toggle {
  top: 20px;
  right: 100px;
}

#fullscreen-toggle {
  top: 20px;
  right: 20px;
}

#close-video {
  top: 20px;
  left: 20px;
}


/* --- Navbar --- */
.navbar {
  padding: 0.3rem 1rem !important;
  font-size: 0.95rem;
  background-color: #1E3A8A !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.navbar-brand,
.navbar .nav-link {
  font-weight: 600;
  color: #ffffff !important;
}

.navbar .nav-link {
  margin-left: 0.5rem;
  padding: 0.3rem 0.5rem;
}

.dropdown-menu {
  border-radius: 15px;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
  background-color: #ffffff;
  transition: all 0.3s ease-in-out;
  animation: dropdownFade 0.3s ease forwards;
  transform-origin: top;
}

@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (min-width: 992px) {
  .navbar .dropdown:hover .dropdown-menu {
    display: block;
    animation: dropdownFade 0.3s ease forwards;
  }
  .navbar .dropdown-toggle::after {
    transform: rotate(0deg); 
  }
  .navbar .dropdown-menu {
    display: none; 
    margin-top: 0;
  }
}

.dropdown-menu .dropdown-item {
  padding: 0.6rem 1.2rem;
  color: #1E3A8A;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border-radius: 8px;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #dbeafe;
  color: #0b2e59;
  transform: translateX(6px);
}

.navbar-collapse {
  background-color: #1E3A8A;
}

.navbar-toggler {
  border: none;
  font-size: 1.4rem;
  background: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

#animatedNav .nav-link {
  font-size: 1.25rem;
  font-weight: 600;
  overflow: hidden;
  display: inline-block;
  white-space: nowrap;
}
#animatedNav .nav-link span {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: flyIn 0.5s forwards;
}
@keyframes flyIn {
  to { transform: translateY(0); opacity: 1; }
}

/* --- Carousel --- */
.carousel-item {
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 40px 0;
  transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
  opacity: 0;
  transform: scale(0.95);
}

.carousel-item.active {
  opacity: 1;
  transform: scale(1);
}

.carousel-item img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  border: 5px solid #ffffff;
  transition: transform 1.2s ease, box-shadow 1s ease;
}

.carousel-item.active img {
  transform: scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.carousel-inner {
  height: 80vh;
}

/* --- Footer --- */
footer .social-icons a {
  margin: 0 12px;
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease;
  animation: bounceIcon 2s infinite;
}
footer .social-icons a i {
  color: #ffffff;
}
footer .social-icons a:hover i {
  color: #1E3A8A;
  transform: scale(1.2);
}
@keyframes bounceIcon {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* --- Responsive --- */
@media (max-width: 767.98px) {
  .carousel-item {
    height: 60vh;
    overflow: hidden;
  }

  .carousel-item img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
  }

  body {
    overflow-x: hidden;
  }

  .top-header .container,
  .top-header .d-flex {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 0.5rem;
  }

  .top-header .brand-title {
    font-size: 1.1rem;
    line-height: 1.4;
  }

  .top-header img {
    height: 60px;
  }

  .top-header .text-end {
    margin-top: 0.5rem;
    text-align: center !important;
  }

  .navbar .nav-link {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    text-align: center;
  }
}

/* Extra Small Devices (≤ 360px) */
@media (max-width: 360px) {
  .top-header .brand-title {
    font-size: 0.9rem;
    line-height: 1.3;
  }

  .top-header img {
    height: 50px;
  }

  .navbar .nav-link {
    font-size: 0.9rem;
    padding: 0.5rem;
  }

  .carousel-caption {
    font-size: 0.8rem;
  }
}

/* Tablets */
@media (min-width: 768px) and (max-width: 991.98px) {
  .top-header .brand-title {
    font-size: 1.4rem;
    text-align: center;
  }

  .top-header img {
    height: 65px;
  }
}

/* Laptops */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .top-header .brand-title {
    font-size: 1.5rem;
  }

  .top-header img {
    height: 70px;
  }
}

/* Wide Desktop */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* About Us */
.about-image-wrapper {
  display: inline-block;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 1rem;
  border: 4px solid #000; 
}

.about-image {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  border: 4px solid #000; 
}


.about-section {
  padding: 60px 15px;
  line-height: 1.7;
}

.about-section {
  margin-top: 0rem !important; 
  padding-top: 0rem !important;
}

.about-section h2 {
  margin-top: 0rem !important;
  padding-top: 0rem;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* Content Box */
.content-box p {
  text-align: justify;
  line-height: 1.7;
}

.hero {
  padding: 2rem 0;
}

.content-box {
  margin: 0 auto 1rem auto; 
  margin-bottom: 3rem !important;
  padding: 2.5rem;
  max-width: 900px;
  width: 90%;
  background: rgba(255,255,255,0.95);
  border-radius: 40px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.content-box img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.content-box img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* President Section */
.presidents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  justify-items: center;
}

.president-card {
  text-align: center;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 250px;
}

.president-card:hover img {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3); 
}


.president-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.president-card img {
  width: 100%;
  height: 200px;
  object-fit: fill;
  margin-bottom: 5px;
  border-radius: 20px;
  border: 4px solid #ffffff; 
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); 
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.president-card h5,
.president-card p {
  color: white;
}

.former-presidents {
  margin-top: 0rem; 
}


/* About Us styling */
.text-primary-glow {
  color: #1E3A8A; 
  text-shadow: 0 2px 5px rgba(30, 58, 138, 0.4); 
  font-weight: 700;
}

/* Activities */
/* Container box */
 .content-box {
  max-width: 1000px;
  width: 90%;
  background: rgba(255, 255, 255, 0.95);
  margin: 0px auto 2rem;
  padding: 2.5rem;
  border-radius: 40px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Administration */
/* Content Box */
    .content-box {
  margin: 1rem auto; 
  width: 90%;
  max-width: 900px;
  background: rgba(255, 255, 255, 0.9);
  padding: 2.5rem;
  border-radius: 40px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  color: #333;
}

    .content-box h1 {
      text-align: center;
      color: #1E3A8A;
      margin-bottom: 1.5rem;
    }

    .content-box h4 {
      text-align: center;
      padding: 10px;
      background: #1E3A8A;
      color: #fff;
      margin-top: 2rem;
      border-radius: 40px;
    }

    /* Gallery */
    .img-thumb {
  border-radius: 10px;
  object-fit: cover;
  height: 180px;
}
        
    
/* Faculty Table Image Styling */
.table img {
  transition: transform 0.3s ease;
  cursor: pointer;
  border: 2px solid #000; 
  border-radius: 40px;
}

.table img:hover {
  transform: scale(1.1);
}

/* Degree */
/* Institutions Styling */
    .institutions {
      width: 100%;
      border-collapse: collapse;
      margin-top: 1rem;
    }
    .institutions th,
    .institutions td {
      border: 1px solid #ccc;
      padding: 8px;
    }
    .institutions th {
      background: #f5f5f5;
      text-align: center;
    }
    .institutions td {
      vertical-align: top;
    }
    .institutions a {
      color: #0d6efd;
      text-decoration: none;
    }
    .institutions a:hover {
      text-decoration: underline;
    }

    /* Mobile-only table responsiveness */
@media (max-width: 768px) {
  .responsive-table-mobile {
    width: 100%;
    overflow-x: auto;
  }

  .responsive-table-mobile table {
    min-width: 600px; /* or auto if columns vary */
    white-space: nowrap;
  }
}


    /* Tribute to Founder */
    /* Quote Styling*/
.quote {
  text-align: center;
  font-style: italic;
  font-size: 1.25rem;     
  font-weight: 500;      
  margin: 2rem auto;    
  max-width: 80%;       
}

/* Tribute Header*/
.tribute-header {
  text-align: center;
  margin-bottom: 2rem;
}

.tribute-header img {
  display: block;
  margin: 0.5rem auto 1rem;
  max-width: 200px;
  border-radius: 30px;
  border: 3px solid black;
}

/* Management Grid */
.management-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 0 24px;
  margin-bottom: 80px;  
}
@media (max-width: 1200px) {
  .management-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 992px) {
  .management-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .management-grid {
    grid-template-columns: 1fr;
  }
}

/* Section Heading */
.management-heading-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px auto 10px;
}

.management-heading {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 800;
  color: #1E3A8A;             
  letter-spacing: 1px;
  background-color: #ffffff;    
  border: 1px solid #ffffff;
  border-radius: 30px;
  padding: 12px 24px;
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
  animation: headingGlowIn 1.5s ease-in-out forwards;
}


/* Card Styling */
.management-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(30, 58, 138, 0.08);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.management-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(30, 58, 138, 0.2);
}

/* Image Styling */
.management-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  opacity: 0;
  animation: fadeIn 1s forwards ease-out;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.management-card:hover img {
  transform: scale(1.04); 
}

/* Heading animation with smoother feel */
.management-heading {
  animation: headingGlowIn 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Card Body */
.management-card-body {
  padding: 20px;
  text-align: center;
}
.management-card-body .fw-bold {
  font-family: 'Segoe UI', sans-serif;
  font-size: 1.2rem;
  color: #1E3A8A;
  margin-bottom: 6px;
}
.management-card-body h5 {
  font-family: 'Segoe UI', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 8px;
}
.management-card-body p {
  font-family: Roboto, sans-serif;
  font-size: 0.95rem;
  color: #4a6489;
  margin-bottom: 2px;
}

.role-box {
  display: inline-block;
  background-color: #1E3A8A;
  color: #fff;                
  padding: 0.3rem 0.8rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
}


/* Divider Section */
.management-divider {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px 0 24px;
  position: relative;
}
.divider-title {
  background-color: #ffffff;
  padding: 0 16px;
  color: #1E3A8A;
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 2;
  position: relative;
}
.management-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  width: 100%;
  height: 2px;
  background-color: #ced4da;
  z-index: 1;
  opacity: 0.7;
}

/* Keyframes */
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Reach Us */
/* Background Overlay */
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
  }

  /* Contact Section */
  .contact-section {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 2rem 2.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
  }

  .contact-section p {
    font-size: 1.05rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    color: #f1f1f1;
    transition: transform 0.3s ease;
  }

  .contact-section p:hover {
    transform: translateX(5px);
  }

  .contact-section i {
    background: #ffc107;
    color: #000;
    padding: 8px;
    border-radius: 50%;
    font-size: 1rem;
    margin-right: 15px;
    min-width: 35px;
    text-align: center;
    transition: transform 0.3s ease;
  }

  .contact-section i:hover {
    transform: scale(1.1);
  }

  /* Google Map Styling */
  iframe {
    border: 4px solid #fff;
    width: 100%;
    height: 400px;
    border-radius: 15px;
    margin-bottom: 1rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
  }

  /* Headings */
  h2.text-center {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    font-weight: 600;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
    color: #fff;
  }

  /* Contact Form */
  .contact-form {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    color: white;
    transition: all 0.4s ease;
  }

  .contact-form h5 {
    margin-bottom: 1rem;
  }

  .contact-form input,
  .contact-form textarea {
    background-color: rgba(255,255,255,0.9);
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 1rem;
    width: 100%;
    color: #000;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
  }

  .contact-form input:focus,
  .contact-form textarea:focus {
    border-color: #1e3a8a;
    outline: none;
  }

  .contact-form button {
    background-color: #ffc107;
    border: none;
    color: black;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 6px;
    transition: background-color 0.3s ease, transform 0.3s ease;
  }

  .contact-form button:hover {
    background-color: #ffda44;
    transform: translateY(-2px);
  }

  /* News & Events */
  .news-link {
  position: relative;
  text-decoration: none;
  color: #0d6efd;   
}

.news-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background-color: #0d6efd;
  transition: width 0.3s ease;
}

.news-link:hover::after {
  width: 100%;
}

/* Ticker container */
/* Use full width */
.container-fluid {
  width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* News Items */
.news-item {
  position: relative;
}

.close-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 1.2rem;
  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  cursor: pointer;
  z-index: 2;
}

/* Ticker adjustments */
.vertical-ticker-box {
  width: 100%;
  max-width: 1200px;
  height: 500px;          
  margin: 1rem auto;
  padding: 1rem;
  background: #fff;
  border: 2px solid #000000;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
}

.ticker-list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  bottom: 0;
  width: 100%;
  animation: scroll-vert 30s linear infinite;
}

.ticker-list li {
  padding: 0.8rem 0;
  text-align: left;
}

.ticker-item {
  color: #000000;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: normal;  
  font-style: italic;
}

.ticker-item:hover {
  text-decoration: underline;
}

.vertical-ticker-box:hover .ticker-list {
  animation-play-state: paused;
}

@keyframes scroll-vert {
  0%   { transform: translateY(100%); }
  100% { transform: translateY(-100%); }
}

@media (max-width: 767px) {
  .vertical-ticker-box {
    max-width: 100%;
  max-height: 100%;
  }
  .ticker-item {
    font-size: 1rem;
  }
}

/* Ctrl C & Ctrl V */
 /* Prevent text selection across page */
    html, body {
      -webkit-user-select: none !important;
      -moz-user-select: none !important;
      -ms-user-select: none !important;
      user-select: none !important;
    }







    