@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
  --foreground-rgb: 0, 0, 0;
  --background-start-rgb: 255, 255, 255;
  --background-end-rgb: 255, 255, 255;
}

body {
  color: rgb(var(--foreground-rgb));
  background: linear-gradient(to bottom, transparent, rgb(var(--background-end-rgb))) rgb(var(--background-start-rgb));
}

p {
  font-family: "Poppins", sans-serif;
}

/* Custom Animations */
@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Show dropdown on hover */
/* .navbar .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0; 
} */

/* Optional: adjust background or transition */
.dropdown-menu {
  transition: all 0.3s ease-in-out;
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-fadeIn {
  animation: fadeIn 1s ease-out forwards;
}

.animate-slideUp {
  animation: slideUp 0.8s ease-out forwards;
}

.animation-delay-200 {
  animation-delay: 0.2s;
}

.animation-delay-400 {
  animation-delay: 0.4s;
}

.animation-delay-600 {
  animation-delay: 0.6s;
}

/* ===== VARIABLES ===== */
:root {
  --red-50: #fef2f2;
  --red-100: #fee2e2;
  --red-200: #fecaca;
  --red-300: #fca5a5;
  --red-400: #f87171;
  --red-500: #ef4444;
  --red-600: #dc2626;
  --red-700: #b91c1c;
  --red-800: #991b1b;
  --red-900: #7f1d1d;

  --yellow-50: #fffbeb;
  --yellow-100: #fef3c7;
  --yellow-200: #fde68a;
  --yellow-300: #fcd34d;
  --yellow-400: #fbbf24;
  --yellow-500: #f59e0b;
  --yellow-600: #d97706;
  --yellow-700: #b45309;
  --yellow-800: #92400e;
  --yellow-900: #78350f;

  --primary: var(--red-700);
  --primary-hover: var(--red-800);
  --secondary: var(--yellow-500);
  --secondary-hover: var(--yellow-600);

  --text-dark: #1f2937;
  --text-light: #f9fafb;
  --text-muted: #6b7280;

  --border-radius: 0.375rem;
  --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* ===== GENERAL STYLES ===== */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;

  /* background-image: linear-gradient(rgb(235 233 226 / 73%), rgb(15 45 100 / 85%)), url(./peters/home/bg2.gif); */
  letter-spacing: 0.5px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
     font-family: "Teko", sans-serif;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
  color: #bd1d1d !important;
}

.academic-resources-section .section-title {
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
  color: #ffffff !important;
}

.color {
    color: #163856;
}

.section-title-line {
  height: 3px;
  width: 80px;
  background: linear-gradient(to right, var(--red-600), var(--yellow-500));
  margin: 0.75rem auto 1.5rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: #303030;
  max-width: 800px;
  margin: 0 auto;
}

.academic-resources-section .section-subtitle {
  font-size: 1.125rem;
  color: #ffffff;
  max-width: 800px;
  margin: 0 auto;
}

.text-yellow {
  color: var(--yellow-400) !important;
}

.bg-yellow {
  background-color: var(--yellow-400) !important;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideLeft {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fade-in {
  animation: fadeIn 1s ease forwards;
}

.animate-fade-in-delay {
  animation: fadeIn 1s ease 0.3s forwards;
  opacity: 0;
}

.animate-up {
  opacity: 0;
  animation: slideUp 0.8s ease forwards;
}

.animate-up-delay {
  opacity: 0;
  animation: slideUp 0.8s ease 0.3s forwards;
}

.animate-left {
  opacity: 0;
  animation: slideLeft 0.8s ease forwards;
}

.animate-right {
  opacity: 0;
  animation: slideRight 0.8s ease forwards;
}

/* ===== TOP HEADER ===== */
.top-header {
  background: linear-gradient(to right, var(--red-800), var(--red-700), var(--red-600));
  color: white;
  padding: 0.75rem 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-pill {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  backdrop-filter: blur(4px);
  font-size: 0.875rem;
  font-weight: 500;
}

.contact-pill i {
  margin-right: 0.5rem;
}

.contact-pill a {
  color: white;
}

.contact-pill a:hover {
  color: var(--yellow-200);
}

/* ===== MAIN HEADER ===== */
.main-header {
    background-image: linear-gradient(to bottom right, rgba(255, 51, 51, 0), rgba(76, 0, 3, 0)), url(./cmf/home/latest-news-bg.png);
    background-size: cover !important;
  background-repeat: no-repeat, repeat-x, repeat;
  background-size: cover, contain, auto;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.logo-container {
  display: flex;
  align-items: center;

  border-radius: 1rem;
  /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); */
  transition: all 0.3s ease;
  justify-content: center;
  background-repeat: no-repeat;
  background-size: contain;
  float: right;
}

.logo-container:hover {
  /* box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1); */
  transform: translateY(-2px);
}

.logo-wrapper {
  position: relative;
  margin-right: 1rem;
}

/* .logo-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 120%;
  background: linear-gradient(to right, var(--red-100), var(--yellow-100));
  border-radius: 50%;
  z-index: -1;
  opacity: 0.5;
} */

.main-logo {
  width: 60px;
  height: 100px;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
  /* background: var(--red-600); */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  font-weight: bold;
  /* padding-right: 60px; */
}

.logo-container:hover .main-logo {
  transform: scale(1.05);
}

.secondary-logo {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 40px;
  height: 40px;
  z-index: 2;
  transition: transform 0.3s ease;
  background: var(--yellow-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  font-weight: bold;
}

.logo-container:hover .secondary-logo {
  transform: rotate(12deg);
}

.institute-name h1 {
  font-size: 30px;
  margin-bottom: 0;
  line-height: 1.2;
}

.bg img{
    background-color: #13293d;
    padding-right: 0;
    border-radius: 50%;
    padding: 10px;
    width: 70px;
}
.text-gradient {
      background: linear-gradient(to right, #ffffff, #ffffff, #fff4bc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: "Teko", sans-serif;
}
/* .header-bg{ 
      background-image: linear-gradient(to bottom right, rgba(255, 51, 51, 0), rgba(76, 0, 3, 0)), url(./cmf/home/latest-news-bg.png);
} */
.institute-name h2 {
    font-size: 16px;
    color: #ffeeac;
    margin-top: 0px;
    margin-bottom: 0;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    text-align: center;

}

.tagline {
  display: flex;
  align-items: center;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: #0045a8;

  justify-content: center;
}

.tagline-line {
  height: 2px;
  width: 15px;
  background: linear-gradient(to right, var(--yellow-400), var(--yellow-600));
  margin: 0 0.5rem;
}

.tagline p {
  margin: 0;
  font-weight: 700;
  font-family: "Merriweeney", serif;
        color: #000000;
          font-family: "Satisfy", cursive;
    text-transform: uppercase;
    animation: blink 2.5s linear infinite;
}

@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.right-logo {
  padding-left: 70px;
      display: none;

}

.btn-apply {
  background: linear-gradient(to right, var(--red-600), var(--red-700));
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 4px 6px rgba(185, 28, 28, 0.2);
  transition: all 0.3s ease;
  border: none;
}

.btn-apply:hover {
  background: linear-gradient(to right, var(--red-700), var(--red-800));
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(185, 28, 28, 0.3);
}

.navbar {
  padding: 0;
  border-top: 1px solid #e5e7eb;
  background: linear-gradient(180deg, #13293d, #10497cd9);

}

.navbar-nav {
  padding: 3px 0;
}

.nav-link {
     color: #ffffff;
  font-weight: 500;
  padding: 0.5rem 1rem;
  position: relative;
  font-size: 17px;

}

.dropdown-item {
  font-size: 15px;
}

.nav-link::after {
  content: '';
  position: relative;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--red-500), var(--yellow-500));
  transition: width 0.3s ease;
}

.nav-link:hover {
      color: #f4ee9c;
}

/* .nav-link:hover::after {
      width: 100%;
    } */
.navbar-toggler {
    border: none;
    font-size: 1.5rem;
    color: #fff3f3;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.dropdown-menu {
  border: none;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
}

.dropdown-item {
  padding: 0.5rem 0.5rem;
  font-weight: 500;
}

.dropdown-item:hover {
  background-color: var(--red-50);
  color: var(--red-600);
}

/* ===== HERO SLIDER ===== */
.hero-slider {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.carousel-item {
  height: 500px;
  position: relative;
}

.hero-slide {
  width: 100%;
  height: 100%;
  background-size: cover !important;
  background-position: center;
  position: relative;
}

/* .hero-slide::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.4);
      z-index: 1;
    } */

.hero-slide-1 {
  background: linear-gradient(135deg, #dc262600, #991b1b00), url('./cmf/slide/slider1.jpg');
}

.hero-slide-2 {
  background: linear-gradient(135deg, #dc262600, #991b1b00), url('./cmf/slide/slider2.jpg');
}

.hero-slide-3 {
  background: linear-gradient(135deg, #dc262600, #991b1b00), url('./cmf/slide/slider3.jpg');
}


.carousel-caption {
  bottom: 50%;
  transform: translateY(50%);
  padding: 0 15%;
  z-index: 2;
}

.carousel-caption h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-caption p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.8;
}

.carousel-control-prev {
  left: 20px;
}

.carousel-control-next {
  right: 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background-color: rgba(255, 255, 255, 0.3);
  opacity: 1;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 5px;
}

/* ===== MARQUEE SECTION ===== */
.marquee-section {
 background: linear-gradient(to bottom, #ffffff, #cfe8ff);
  padding: 0px 0;
  border-top: 1px solid var(--red-100);
  border-bottom: 1px solid var(--red-100);
  overflow: hidden;
}

.marquee-label {
  background: linear-gradient(to right, var(--red-600), var(--red-700));
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-weight: 600;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 6px rgba(185, 28, 28, 0.2);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

.marquee-label i {
  margin-right: 0.5rem;
}

.marquee-content {
  overflow: hidden;
  white-space: nowrap;
}

.marquee-items {
  display: inline-block;
  animation: marquee 40s linear infinite;
  color: var(--red-800);
  font-weight: 500;
  transition: all 0.3s ease;
}

.marquee-items:hover {
  transform: translateY(-5px);
}

.marquee-items a {
  color: #000;
  padding-right: 30px;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ===== WELCOME SECTION ===== */
.welcome-section {
  padding: 5rem 0;
  background-color: white;
  background-size: cover;
}
.welcome-image img{
  width: 100%;
  height: 100%;
}
.welcome-image {
  position: relative;
  overflow: hidden;
 
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  height: 400px;
  background: linear-gradient(135deg, var(--red-100), var(--yellow-100));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-700);
  font-size: 1.5rem;
  font-weight: bold;
      border-left: 20px solid #13293d;
    border-right: 20px solid #13293d;
    border-top: 20px solid #ffffff;
    border-bottom: 20px solid #ffffff;
}

.welcome-image:hover {
  transform: scale(1.02);
  box-shadow: 0 25px 30px -5px rgba(0, 0, 0, 0.15), 0 10px 15px -5px rgba(0, 0, 0, 0.08);
}

.mission-vision-card {
  background: linear-gradient(to bottom right, var(--red-50), var(--yellow-50));
  border: 1px solid var(--red-100);
  border-radius: 0.75rem;
  padding: 1.25rem;
  height: 100%;
  transition: all 0.3s ease;
}

.mission-vision-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.mission-vision-card h4 {
  color: var(--red-800);
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.mission-vision-card p {
  color: var(--text-dark);
  margin-bottom: 0;
}

/* ===== OBJECTIVES SECTION ===== */
.objectives-section {
  position: relative;
  padding: 5rem 0;
      background: linear-gradient(135deg, #ffd7d7, #ffe3ad);
  color: white;
}

.objectives-section .section-title {
  padding-top: 50PX;
}

.overlay-top {
  position: absolute;
  top: 0;
}

.overlay-top img {
  width: 100%;
}

.objectives-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(to bottom right, rgb(255 255 255), rgb(186 212 255 / 71%)), url(./cmf/home/overlay_bg1.png);
  /* background: linear-gradient(to bottom right, rgba(185, 28, 28, 0.9), rgba(153, 27, 27, 0.85)); */
}

.objective-card {
  background-color: rgb(255 255 255);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  padding: 1.5rem;
  height: 100%;
  transition: all 0.3s ease;
}

.objective-card p {
  color: #000;
}

.objective-card:hover {
  background-color: rgb(189 29 29);
  transform: translateY(-5px) scale(1.02);
}

.objective-card:hover p {
  color: #fff;
}

.objective-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.objective-card p {
  opacity: 0.8;
  margin-bottom: 0;
}

/* ===== NEWS & EVENTS SECTION ===== */
.news-events-section {
  padding: 5rem 0;
  background-color: #f9fafb;
  background-image: linear-gradient(to bottom right, rgba(255, 51, 51, 0), rgba(76, 0, 3, 0)), url(./cmf/home/latest-news-bg.png);
  position: relative;
}

.jublee-tabs .overlay-top {
  position: absolute;
  top: 0;
  background: linear-gradient(135deg, #ffffff, var(--red-600));
}

.news-events-section .section-title-line {
  margin-left: 0;
  margin-right: auto;
}

.nav-pills .nav-link {
  color: var(--text-dark);
  background-color: white;
  border-radius: 50px;
  padding: 0.5rem 1.25rem;
  margin: 0 0.25rem;
  font-weight: 500;
}

.nav-pills .nav-link.active {
  background-color: var(--red-600);
  color: white;
}

.news-card {
  background-color: white;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  height: 100%;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.news-image {
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--red-200), var(--yellow-200));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-700);
  font-weight: bold;
}
.news-image img,
.news-image a{
      width: 100%;
}
.news-content {
  padding: 1.5rem;
}

.news-date {
  display: flex;
  align-items: center;
  color: #000;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.news-date i {
  margin-right: 0.5rem;
}

.news-content h3 a{
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
     color: #163856;
}

.news-content p {
  color: #000;
  margin-bottom: 1rem;
}

.read-more {
  color: var(--red-600);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.read-more i {
  margin-left: 0.25rem;
  transition: transform 0.3s ease;
}

.read-more:hover {
  color: #003c9f;

}

.read-more:hover i {
  transform: translateX(3px);
}

.event-item {
  background-color: white;
  border-radius: 0.75rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.event-item:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.event-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.event-meta {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.event-date,
.event-time {
  display: flex;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-right: 1.5rem;
}

.event-date i,
.event-time i {
  margin-right: 0.5rem;
  color: var(--red-600);
}

.event-location .badge {
  background-color: var(--red-600);
  font-weight: 500;
}

.btn-outline-primary {
  color: #ffffff;
  border-color: #003c9f;
  background: #003c9f;
}

.btn-outline-primary:hover {
  background-color: var(--red-600);
  border-color: var(--red-600);
}

/* ===== ACADEMIC RESOURCES SECTION ===== */


.resource-card {  
  background-color: white;
  border: 1px solid var(--red-100);
  border-radius: 0.75rem;
  padding: 15px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.resource-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.resource-icon {
  font-size: 2.5rem;
  color: var(--red-600);
  margin-bottom: 1.25rem;
}

.resource-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.resource-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.btn-primary {
  background-color: var(--red-600);
  border-color: var(--red-600);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 500;
}

.btn-primary:hover {
  background-color: var(--red-700);
  border-color: var(--red-700);
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
  padding: 5rem 0;
  background-color: #f9fafb;

}

.gallery-item {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  height: 170px;
  background: linear-gradient(135deg, var(--red-200), var(--yellow-200));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-700);
  font-weight: bold;
  transition: all 0.3s ease;

}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-info {
  color: white;
  text-align: center;
  width: 100%;
}

.gallery-category {
  display: inline-block;
  background-color: var(--red-600);
  color: white;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.5rem;
}

.gallery-info h3 {
  font-size: 1.125rem;
  margin-bottom: 0;
}


.quote {
            font-family: 'Georgia', serif;
            background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #7e22ce 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 40px 20px;
            position: relative;
            overflow: hidden;
        }

        .quote::before {
            content: '';
            position: absolute;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
            border-radius: 50%;
            top: -250px;
            right: -250px;
            animation: float 20s infinite ease-in-out;
        }

        .quote::after {
            content: '';
            position: absolute;
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
            border-radius: 50%;
            bottom: -200px;
            left: -200px;
            animation: float 15s infinite ease-in-out reverse;
        }

        .quote-section {
            max-width: 100%;
            width: 100%;
            position: relative;
            z-index: 1;
        }

        .quote-container {
           background: rgb(19 41 61);
            border-radius: 30px;
            padding: 20px 60px;
           box-shadow: 0 12px 30px rgb(167 167 167);
            position: relative;
            overflow: hidden;
            animation: fadeIn 1.2s ease;
        }

        .quote-container::before {
            content: '"';
            position: absolute;
            top: -40px;
            left: 30px;
            font-size: 250px;
                color: rgb(255 255 255 / 24%);
            font-family: 'Georgia', serif;
            line-height: 1;
            z-index: 0;
        }

        .quote-container::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 6px;
            background: linear-gradient(to right, #1e3c72, #7e22ce);
        }

        .quote-text {
               font-size: 36px;
    line-height: 52px;
                color: #ffffff;
            text-align: center;
            font-style: italic;
            position: relative;
            z-index: 1;
            margin-bottom: 15px;
            font-weight: 400;
                font-family: "Teko", sans-serif;
        }

        .quote-text::before {
            content: '"';
            color: #ffefb1;
            font-size: 1.3em;
            margin-right: 5px;
        }

        .quote-text::after {
            content: '"';
            color: #ffefb1;
            font-size: 1.3em;
            margin-left: 5px;
        }

        .author-section {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 20px;
            
            border-top: 2px solid rgba(30, 60, 114, 0.15);
            position: relative;
            z-index: 1;
        }

        .author-divider {
            width: 60px;
            height: 2px;
            background: linear-gradient(to right, transparent, #ffffff, transparent);
        }

        .author-name {
            font-size: 1.5em;
            font-weight: 600;
              color: #fffde0;
            letter-spacing: 1px;
            font-style: normal;
        }

        .decorative-cross {
            position: absolute;
            bottom: 30px;
            right: 30px;
            width: 40px;
            height: 40px;
            opacity: 0.15;
        }

        .decorative-cross::before,
        .decorative-cross::after {
            content: '';
            position: absolute;
            background: #1e3c72;
        }

        .decorative-cross::before {
            width: 6px;
            height: 40px;
            left: 17px;
            top: 0;
        }

        .decorative-cross::after {
            width: 40px;
            height: 6px;
            left: 0;
            top: 10px;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(40px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes float {
            0%, 100% {
                transform: translate(0, 0);
            }
            50% {
                transform: translate(50px, 50px);
            }
        }
       /* --- CSS For Responsive Submenus --- */

/* This targets screens smaller than Bootstrap's 'lg' breakpoint */
        @media (max-width: 768px) {
            .quote-container {
                padding: 50px 30px;
                border-radius: 20px;
            }

            .filament-tiptap-grid-builder__column {
grid-column: span 12 !important;
}
            .subpage  h4{
                color: #1b1b1b;
                margin-top: 30px !important;
            }

            .quote-text {
                font-size: 1.4em;
                line-height: 1.6;
            }

            .author-name {
                font-size: 1.2em;
            }

            .quote-container::before {
                font-size: 150px;
                top: -20px;
                left: 10px;
            }
        }

        @media (max-width: 480px) {
            .quote-container {
                padding: 40px 20px;
            }

            .quote-text {
                font-size: 1.2em;
            }

            .author-name {
                font-size: 1.1em;
            }
        }
/* ===== FOOTER ===== */
.footer {
        background: linear-gradient(to bottom right, #1731487a, #991b1bb8, #1d30465c), url(./cmf/home/footer-bg.jpg) no-repeat center center;
  color: white;
  padding: 40px 20px 10px 20px;
  font-family: "Poppins", sans-serif;
  position: relative;
  background-size: cover;
}

.footer a {
  color: #fff !important;
}

.footer a:hover {
  color: #f1980a !important;
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.logo-banner {

  background-size: contain;
  background-repeat: no-repeat;
}

.footer-logo-img {
  width: 60px;
  height: 60px;
  background: var(--yellow-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.footer-logo h3 {
  font-size: 1.5rem;
  margin: 0.5rem 0 0;
}

.footer-logo .subtitle {
  color: var(--red-200);
  font-size: 1rem;
  margin-top: -5px;
}

.footer-about {
  color: var(--red-100);
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #152852;
  color: white;
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  background-color: var(--yellow-600);
  color: white;
  transform: translateY(-3px);
}

.social-links a:hover {
  color: #fff !important;
}

.footer-heading {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--yellow-400);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--red-200);
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a i {
  margin-right: 0.5rem;
  font-size: 0.75rem;
}

.footer-links a:hover {
  color: var(--yellow-300);
  transform: translateX(5px);
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  margin-bottom: 1rem;
}

.footer-contact li i {
  margin-right: 1rem;
  margin-top: 0.25rem;
}

.footer-contact li div {
  color: #fff;
}

.footer-newsletter-text {
  color: var(--red-100);
  margin-bottom: 1rem;
}

.footer-newsletter .form-control {
  background-color: var(--red-800);
  border: 1px solid var(--red-700);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
}

.footer-newsletter .form-control::placeholder {
  color: var(--red-300);
}

.footer-newsletter .form-control:focus {
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25);
  border-color: var(--yellow-400);
}

.btn-yellow {
  background: linear-gradient(to right, var(--yellow-500), var(--yellow-600));
  color: var(--red-900);
  font-weight: 600;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: none;
  transition: all 0.3s ease;
}

.btn-yellow:hover {
  background: linear-gradient(to right, var(--yellow-600), var(--yellow-700));
  color: var(--red-900);
  transform: translateY(-2px);
}

.footer-newsletter-policy {
  color: var(--red-300);
  font-size: 0.75rem;
  margin-top: 1rem;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px dashed #ffffff;
  text-align: center;
  color: var(--red-300);
  font-size: 0.875rem;
}

.footer-bottom-links {
  margin-top: 0.75rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: var(--red-300);
  text-decoration: none;
}

.footer-bottom p {

  color: #fff;
}

.footer-bottom a {
  color: var(--yellow-400) !important;
}

.footer-bottom-links a:hover {
  color: var(--yellow-300);
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 991.98px) {
  .carousel-caption h2 {
    font-size: 2.5rem;
  }

  .carousel-caption p {
    font-size: 1.125rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .institute-name h1 {
    font-size: 1.5rem;
  }

  .institute-name h2 {

    font-size: 1.125rem;
  }

  .main-logo img {
          width: 35px;
        height: 35px;
  }

  .main-logo {
    width: 55px !important;
    height: 50px !important;
    padding-right: 30px !important;
  }


  .logo-container {
    display: flex;
    align-items: center;

    padding: 1rem;
    border-radius: 1rem;
    /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); */
    transition: all 0.3s ease;

    float: none;

  }

  .logo-gif img {
    width: 60px !important;
  }

  .secondary-logo {
    width: 30px;
    height: 30px;
  }

  .logo-container {
    padding: 0px !important;
  }

  .logo-wrapper {
    margin-right: 0px !important;
  }
}

@media (min-width: 767.98px) and (max-width: 1300.98px) {
  .institute-name h1 {
    font-size: 26px !important;
    margin-bottom: 0;
    line-height: 1.2;
  }
}

@media (max-width: 767.98px) {
  .pd-l-0 {
    padding-left: 0px !important;
  }

.navbar-toggler {
      position: absolute;
    right: 0;
    top: 10px;
}


  .carousel-item {
    height: 400px;
  }

  .right-logo {
    padding-left: 20px;
    display: none !important;
  }

  .carousel-caption h2 {
    font-size: 2rem;
  }

  .carousel-caption p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .marquee-label {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }

  .footer-heading {
    margin-top: 2rem;
  }
}

@media (max-width: 575.98px) {
  .carousel-item {
    height: 300px;
  }

  .carousel-caption h2 {
    font-size: 1.5rem;
  }

  .carousel-caption p {
    font-size: 0.875rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .institute-name h1 {
    font-size: 23px;
  }

  .institute-name h2 {
    font-size: 1rem;
    display: none;
  }




  .secondary-logo {
    width: 25px;
    height: 25px;
    top: -5px;
    right: -5px;
  }

  .tagline {
    font-size: 0.75rem;
    display: none;
  }

  .tagline-line {
    width: 20px;
  }
}


.upcomming-event {
  float: left;
  padding-right: 25px;
}

.map-section img {
  width: 100%;
}

.bubbles {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
  /* Or set lower than content */
  overflow: hidden;
  top: 0;
  left: 0;
  pointer-events: none;
  /* 🔥 This is the key */
}

.bubble {
  position: absolute;
  bottom: -100px;
  background: #ffffff27;
  border-radius: 50%;
  opacity: .5;
  animation: rise 10s infinite ease-in
}

.bubble:nth-child(1) {
  width: 30px;
  height: 30px;
  left: 10%;
  animation-duration: 8s
}

.bubble:nth-child(2) {
  width: 50px;
  height: 50px;
  left: 20%;
  animation-duration: 5s;
  animation-delay: 1s
}

.bubble:nth-child(3) {
  width: 30px;
  height: 30px;
  left: 35%;
  animation-duration: 7s;
  animation-delay: 2s
}

.bubble:nth-child(4) {
  width: 50px;
  height: 50px;
  left: 50%;
  animation-duration: 11s;
  animation-delay: 0s
}

.bubble:nth-child(5) {
  width: 30px;
  height: 30px;
  left: 55%;
  animation-duration: 6s;
  animation-delay: 1s
}

.bubble:nth-child(6) {
  width: 50px;
  height: 50px;
  left: 65%;
  animation-duration: 8s;
  animation-delay: 3s
}

.bubble:nth-child(7) {
  width: 30px;
  height: 30px;
  left: 70%;
  animation-duration: 7s;
  animation-delay: 2s
}

.bubble:nth-child(8) {
  width: 50px;
  height: 50px;
  left: 80%;
  animation-duration: 6s;
  animation-delay: 1s
}

.bubble:nth-child(9) {
  width: 35px;
  height: 35px;
  left: 70%;
  animation-duration: 5s;
  animation-delay: 1s
}

.bubble:nth-child(10) {
  width: 10px;
  height: 10px;
  left: 25%;
  animation-duration: 10s;
  animation-delay: 4s
}

@keyframes rise {
  0% {
    bottom: -100px;
    transform: translate(0)
  }

  50% {
    transform: translate(100px)
  }

  to {
    bottom: 100vh;
    transform: translate(-200px)
  }
}

/* --- General Submenu Styling --- */
.dropdown-submenu {
    position: relative;
}

/* Add a right-facing caret to submenu toggles */
.dropdown-submenu > .dropdown-toggle::after {
    display: inline-block;
    content: '';
    border-top: 0.3em solid transparent;
    border-right: 0;
    border-bottom: 0.3em solid transparent;
    border-left: 0.3em solid;
    vertical-align: middle;
    margin-left: 0.255em;
}


/* --- DESKTOP: Hover Behavior (for screens wider than 991px) --- */
@media (min-width: 992px) {
    .dropdown-submenu .dropdown-menu {
        /* Position submenus to the side */
        top: 0;
        left: 100%;
        margin-top: -1px;
    }

    /* Show on hover */
    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }
}


/* --- MOBILE: Click Behavior (for screens narrower than 992px) --- */
@media (max-width: 991.98px) {
    /* On mobile, disable the hover effect */
    .dropdown-submenu:hover > .dropdown-menu {
        display: none;
    }

    /* Position submenus to open downwards within the parent menu */
    .dropdown-menu .dropdown-submenu > .dropdown-menu {
        position: static;
        display: none; /* Hide by default */
        width: 100%;
        border: none;
        box-shadow: none;
        padding-left: 15px; /* Indent nested items */
    }

    /* Use the '.show' class (added by JS) to display the menu on click */
    .dropdown-menu .dropdown-submenu.show > .dropdown-menu {
        display: block;
    }
    
    /* Change the caret to a down-arrow on mobile */
    .dropdown-submenu > .dropdown-toggle::after {
        border-top: 0.3em solid;
        border-right: 0.3em solid transparent;
        border-bottom: 0;
        border-left: 0.3em solid transparent;
        transition: transform 0.2s ease-in-out;
    }

    /* Rotate the caret when the submenu is opened */
    .dropdown-submenu.show > .dropdown-toggle::after {
        transform: rotate(180deg);
    }
}

.jublee-tabs {
  background-image: linear-gradient(rgb(0 60 159 / 95%), rgb(255 177 177 / 95%));

  background-position: center;

  overflow: hidden;
  padding: 5rem 0;
  position: relative;
}

.jublee-tabs img {
  width: 100%;
  border-radius: 20%;
  background: linear-gradient(135deg, var(--red-200), var(--yellow-200));
  padding: 4px;
}

.tab-content {
  padding-top: 20px;
}

.logo-gif img {
  width: 150px;
}

 .welcome-section .animate-right p{
      text-align: justify;
 }
 @media (max-width: 999.98px) {


  .hero-slider {
    position: relative;
    height: 147px !important;
    overflow: hidden;
  }

  .hero-slide {
    height: 100%;
    background-size: contain !important;
    background-position: top !important;
    position: relative;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 20px !important;
    height: 20px !important;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
  }

  .marquee-label span {
    display: none;
  }

  .welcome-section {
    padding: 5rem 0;
    background-color: white;

    background-size: contain !important;
  }

  .overlay-top {
    position: absolute;
    top: -7px !important;
  }

  .nav-pills .nav-link {
    background-color: var(--red-600);
    color: white;
    margin-bottom: 15px;
  }

  .jublee-tabs img {
    width: 100%;
    border-radius: 20%;
    background: linear-gradient(135deg, var(--red-200), var(--yellow-200));
    padding: 4px;
    margin-bottom: 50px !important;
  }
}
@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 10px !important;
        padding-left: var(--bs-navbar-nav-link-padding-x);
    }
}
.tab-content,
.nav-pills{
  display: flex;
  align-items: center;
  justify-content: center;
}

.breadcrumb-section{
      background-image: linear-gradient(rgb(1 36 94 / 32%), rgb(15 45 100 / 85%)), url(./cmf/home/latest-news-bg.png);
          padding: 40px 0px;
}
.breadcrumb-section h2{
  color: white;
}
.breadcrumb-section  li a{
  color: white;
}
.breadcrumb-section  li {
    font-size: 17px;
}
.breadcrumb-item.active {
  color: white;
}
.breadcrumb{
  margin-bottom: 0px !important;
}
.subpage{
  background: linear-gradient(to right, #ffffff, #fff9f0);
}
/* Disable Bootstrap's default breadcrumb divider */
.breadcrumb-item + .breadcrumb-item::before {
    content: none !important;
}

/* Add Font Awesome arrow as separator */
.breadcrumb li:not(:last-child)::after {
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #ffffff;
    margin-left: 10px;
    margin-right: 10px;
    font-size: 13px;
}
.breadcrumb-item+.breadcrumb-item::before {
    float: left;
    padding-right: var(--bs-breadcrumb-item-padding-x);
    color: var(--bs-breadcrumb-divider-color);
    content: var(--bs-breadcrumb-divider, "/");
    display: none !important;
}
.subpage  h2,
.subpage  h3,
.subpage  h4,
.subpage  h5,
.subpage  h6{
  margin-bottom:20px;
}

.subpage  h3{
  color: #7f1d1d;
}
.subpage  h4{
    color: #9d9800;
}

.subpage  h4{
    color: #1b1b1b;  
}
.subpage h4 a{
    color: #1b1b1b;
}
.subpage  h5{
    color: #002c50;
}
.subpage .common-btn{
      color: #ffffff;
    border-color: #003c9f;
    background: #003c9f;
    padding: 5px 25px 7px 25px;
}

.subpage .common-btn:hover{
      color: #ffffff;
    border-color: #bd1d1d;
       background: #bd1d1d;
    padding: 5px 25px 7px 25px;
}
@media (min-width: 1450px) {
.container-fluid{
  max-width: 1450px !important;
}
}
/* 21-10-2025 */
/* .breadcrumb {
    --bs-breadcrumb-divider: '›';
} */

.breadcrumb-item:last-child::before {
    display: none !important;
}

.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
    color: rgb(255 232 144) !important;
}
@media (min-width: 767px) and (max-width: 1400px) {
.institute-name h1 {
    font-size: 25px !important;
    margin-bottom: 0;
    line-height: 1.2;
}

.nav-link {
    color: #ffffff;
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
    font-size: 15px !important;
}}
.subpage table{
  margin-bottom: 30px;
}
.team-content .count  a{
color: #b30000 !important;
}
.team-content .count  a:hover{
    color: #285074 !important;
}