@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;
  text-align: justify;
}

/* 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;
  padding: 20px 35px;
  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: "Merriweather", 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: #003c9f;
}

.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: linear-gradient(to right, white, #f8f9fa, white),
    url('/assets/images/header-bg.svg'),
    url('/assets/images/header-pattern.png');
  background-repeat: no-repeat, repeat-x, repeat;
  background-position: center top, left bottom, right top;
  background-size: cover, contain, auto;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.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;
  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: 100px;
  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: 50px;
  margin-bottom: 0;
  line-height: 1.2;
}

.text-gradient {
  background: linear-gradient(to right, #002691, #004eaf, #de2626);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: "Merriweather", serif;
}

.institute-name h2 {
  font-size: 23px;
  color: var(--red-600);
  margin-top: -5px;
  margin-bottom: 0;
  font-family: "Poppins", sans-serif;
  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;

}

.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-image: url(./peters/home/nav-bg.png);

}

.navbar-nav {
  padding: 3px 0;
}

.nav-link {
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.5rem 1rem;
  position: relative;
  font-size: 17px;

}

.dropdown-item {
  font-size: 17px;
}

.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: var(--red-600);
}

/* .nav-link:hover::after {
      width: 100%;
    } */

.navbar-toggler {
  border: none;
  font-size: 1.5rem;
  color: var(--red-700);
}

.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 1rem;
  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(./peters/slider/slide2.jpg);
}

.hero-slide-2 {
  background: linear-gradient(135deg, #dc262600, #991b1b00), url('./peters/slider/slide2.png');
}

/* .hero-slide-3 {
      background: linear-gradient(135deg, var(--red-700), var(--yellow-600)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 500"><rect width="1200" height="500" fill="%23991b1b"/><text x="600" y="250" text-anchor="middle" dy=".3em" fill="white" font-size="48" font-family="Arial">Modern Facilities</text></svg>');
    } */

.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 right, var(--red-50), var(--yellow-50));
  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-image: url(./peters/home/welcome-bg.png);
  background-size: cover;
}

.welcome-image {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  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;
}

.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, #ffffff, var(--red-600));
  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(./peters/home/objective.jpg);
  /* 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(./peters/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: #ffffff;
    background-color: #003c9f;
  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-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 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: #003c9f;
}

.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 ===== */
.academic-resources-section {
  padding: 5rem 0;
  /* background-color: white; */
  background-image: linear-gradient(rgb(1 36 94 / 32%), rgb(15 45 100 / 85%)), url(./peters/home/resourse.png);
}

.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: 250px;
  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;
  padding: 10px;
}

.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;
}

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(to bottom right, var(--red-900), var(--red-800), var(--red-700));
  color: white;
  padding: 40px 20px 10px 20px;
  font-family: "Poppins", sans-serif;
  position: relative;
}

.footer a {
  color: #fff !important;
}

.footer a:hover {
  color: #f1980a !important;
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.logo-banner {
  /* background: linear-gradient(to right, var(--red-50), var(--yellow-50)); */
  /* background: linear-gradient(to right, #fef2f24b, var(--yellow-50)), url(./peters/home/ballon.gif); */
  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: 45px;
    height: 45px;
  }

  .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) {
    .dropdown-menu>li>.dropdown-menu {
    top: 45px !important;
    left: 0px !important;
    margin-top: -1px;
    display: none;
    position: absolute;
}
    .tab-content, .nav-pills {
    display: math !important;
    align-items: center;
    justify-content: center;
}
  .pd-l-0 {
    padding-left: 0px !important;
  }
  .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: 11px;
  }

  .institute-name h2 {
    font-size: 1rem;
    display: none;
  }

  .logo-gif {
    float: left;
    background-image: url(./peters/home/golden-bg.gif);
    display: none;
  }




  .secondary-logo {
    width: 25px;
    height: 25px;
    top: -5px;
    right: -5px;
  }

  .tagline {
    font-size: 0.75rem;
    display: none;
  }

  .tagline-line {
    width: 20px;
  }
}

.logo-gif {
  float: left;
  background-image: url(./peters/home/golden-bg.gif);

}

.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)
  }
}

/* Show submenu ONLY on hover of .dropdown-submenu */
.dropdown-submenu:hover>.dropdown-menu {
  display: block;
}

/* Prevent all dropdowns from showing automatically */
.dropdown:hover>.dropdown-menu {
  display: block;
}

/* Make sure only the hovered parent item reveals its own submenu */
.dropdown-menu>li:hover>.dropdown-menu {
  display: block;
}

/* Optional: Fix submenu position */
.dropdown-submenu {
  position: relative;
}

.dropdown-menu>li>.dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -1px;
  display: none;
  position: absolute;
}


.jublee-tabs {
  background-image: linear-gradient(rgb(0 60 159 / 95%), rgb(255 177 177 / 95%)), url(./peters/home/golden-bg.gif);

  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;
}

@media (max-width: 999.98px) {

  body {
    padding: 10px 10px !important;
  }

  .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-image: url(./peters/home/welcome-bg.png);
    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: 20px !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(./peters/home/resourse.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);
}

.breadcrumb li:not(:last-child)::after {
  content: "\f105";
  /* Unicode for fa-angle-right */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #ffffff;
  /* Change to your desired color */
  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: 30px;
}

.subpage h3 {
  color: #7f1d1d;
}

.subpage h4 {
  color: #9d9800;
}


.subpage h5 {
  color: #002c50;
  font-size: 18px;
}
.subpage table td{
    font-family: "Poppins", sans-serif;
}
.gallery-back-btn,
a[data-as-button="true"][data-as-button-theme="primary"] {
  display: inline-block;
  padding: 10px 16px;
  background: linear-gradient(0.25turn, #002068, #743a68, #d92629);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}
 .gallery-back-btn:hover,
a[data-as-button="true"][data-as-button-theme="primary"]:hover {
    background: linear-gradient(0.25turn,  #d92629, #002068, #743a68);
}
.welcome-section a{
    background-image: linear-gradient(red, blue);
    color: transparent !important;
    background-clip: text;
    font-size: 16px;
        font-family: "Poppins", sans-serif;
}
.events-list img{
    height:200px !important;
}
.sub-gallery img{
    width:100% !important;
        height: auto;
}
.subpage h4 a{
  color: #9d9800 !important;
}
.sub-gallery h4{
    text-align:center;
}
.sub-gallery p small{
    color: #c22b38;
}
@media (min-width: 1500px) {
    .container-fluid {
        width: 1450px !important;
    }
}
@media (max-width: 767px) {
.filament-tiptap-grid-builder__column {
grid-column: span 6 !important;
}
}
.subpage h4 {
    color: #9d9800;
    font-size: 19px;
    margin-top: 25px;
}
.subpage h3 {
    color: #7f1d1d;
    font-size: 22px;
    margin-top: 25px;
}
.owl-carousel .owl-item img {
    display: block;
    width: 100%;
    max-height: 600px !important;
}
.address{
    display: flex !important;
    margin-top: -3px;
}
.tiptap-content ul li{
    margin-bottom: -7px;
}
.filament-tiptap-grid-builder__column img{
    max-height: 700px;
}