/* ========== NEW THEME CSS ========== */
:root {
  --primary-color: #1a5490;
  --secondary-color: #2c3e50;
  --accent-color: #f39c12;
  --header-bg: #e8f4f8;
  --nav-bg: #1a5490;
  --footer-bg: #1a1a2e;
  --light-bg: #f8f9fa;
  --text-dark: #333333;
  --text-light: #ffffff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
}

html,
body {
  font-family: 'Outfit', sans-serif;
  color: var(--secondary-color);
  overflow-x: hidden;
  width: 100%;
}

/* ========== HEADER SECTION ========== */
.new-header {
  background: #ffffff;
  padding: 10px 0;
  position: relative;
  /* border-bottom: 1px solid #e8e8e8; */
  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); */
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 0;
  position: relative;
  z-index: 1;
}

.header-logo-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-logo-left img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  /* border: 3px solid #e8e8e8; */
  object-fit: contain;
}

.header-logo-right img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  /* border: 3px solid #e8e8e8; */
  object-fit: contain;
}

.header-center {
  text-align: center;
  color: #1a5490;
  flex: 1;
  padding: 0 30px;
}

.header-center .english-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.5px;
  color: #1a5490;
  margin-bottom: 3px;
}

.header-center .subtitle {
  font-size: 1.1rem;
  margin: 10px 0;
  font-weight: 500;
  color: #666666;
  letter-spacing: 0.5px;
}

.header-center .location {
  font-size: 1rem;
  color: #888888;
  margin-top: 8px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.header-logo-left img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  /* border: 3px solid #e8e8e8; */
  object-fit: contain;
}

/* ========== NAVIGATION BAR ========== */
.new-navbar {
  background: #ffffff;
  padding: 15px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  /* border-bottom: 1px solid #e8e8e8; */
}

.new-navbar .navbar-brand {
  color: #1a5490 !important;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
}

.new-navbar .nav-link {
  color: #333333 !important;
  font-weight: 600;
  padding: 12px 20px !important;
  position: relative;
  transition: all 0.3s ease;
  font-size: 1.05rem;
  letter-spacing: 0.3px;
}

@media (min-width: 992px) {
  .new-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #1a5490, #f39c12);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
  }

  .new-navbar .nav-link:hover::after,
  .new-navbar .nav-link.active::after {
    width: 90%;
  }
}

.new-navbar .nav-link:hover {
  background: linear-gradient(135deg, #f8f9fa 0%, #e8f4f8 100%);
  color: #1a5490 !important;
  transform: translateY(-2px);
}

.new-navbar .dropdown-menu {
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  padding: 12px 0;
  margin-top: 15px;
  background: #ffffff;
}

.new-navbar .dropdown-item {
  padding: 12px 20px;
  color: #333333;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
  font-weight: 500;
  font-size: 1rem;
}

.new-navbar .dropdown-item:hover {
  background: linear-gradient(135deg, #f8f9fa 0%, #e8f4f8 100%);
  border-left-color: #1a5490;
  padding-left: 22px;
  color: #1a5490;
}

/* ========== HERO SECTION ========== */
.new-hero {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}

.new-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(26, 84, 144, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(243, 156, 18, 0.05) 0%, transparent 50%);
}

.new-hero-content {
  position: relative;
  z-index: 1;
}

.new-hero h1 {
  color: #1a5490;
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.new-hero h1 span {
  color: #f39c12;
}

.new-hero p {
  color: #555555;
  font-size: 1.2rem;
  margin-bottom: 30px;
  line-height: 1.8;
}

/* ========== MODERN HERO CAROUSEL ========== */
.modern-hero-section {
  position: relative;
  overflow: hidden;
}

.modern-hero-section .carousel {
  position: relative;
}

.modern-hero-section .carousel-indicators {
  bottom: 30px;
}

.modern-hero-section .carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: 2px solid white;
  margin: 0 8px;
  transition: all 0.3s ease;
}

.modern-hero-section .carousel-indicators button.active {
  background-color: white;
  transform: scale(1.2);
}

.modern-hero-section .carousel-control-prev,
.modern-hero-section .carousel-control-next {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.3);
  z-index: 10;
}

.modern-hero-section .carousel-control-prev:hover,
.modern-hero-section .carousel-control-next:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) scale(1.1);
}

.modern-hero-section .carousel-control-prev-icon,
.modern-hero-section .carousel-control-next-icon {
  width: 24px;
  height: 24px;
  background-color: rgb(7, 34, 121);
  border-radius: 50%;
}

.hero-slide {
  height: 600px;
  display: flex;
  align-items: center;
  padding: 80px 0;
  position: relative;
}

.hero-slide-full {
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.hero-slide-full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0;
  left: 0;
}

.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  animation: fadeInLeft 0.8s ease;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 25px;
  opacity: 0.95;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-text {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 35px;
  opacity: 0.9;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-hero-primary,
.btn-hero-primary-light,
.btn-hero-primary-green {
  padding: 15px 35px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  display: inline-block;
}

.btn-hero-primary {
  background: white;
  color: #1a5490;
}

.btn-hero-primary:hover {
  background: #f8f9fa;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-hero-primary-light {
  background: white;
  color: #f39c12;
}

.btn-hero-primary-light:hover {
  background: #f8f9fa;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-hero-primary-green {
  background: white;
  color: #27ae60;
}

.btn-hero-primary-green:hover {
  background: #f8f9fa;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-hero-secondary,
.btn-hero-secondary-light,
.btn-hero-secondary-green {
  padding: 15px 35px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid white;
  color: white;
  display: inline-block;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.btn-hero-secondary-light:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.btn-hero-secondary-green:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.hero-image {
  position: relative;
  z-index: 1;
  animation: fadeInRight 0.8s ease;
}

.hero-image img {
  border: 5px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.hero-image img:hover {
  transform: scale(1.02);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.new-hero .btn-hero {
  padding: 15px 40px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.new-hero .btn-primary-hero {
  background: linear-gradient(135deg, #1a5490 0%, #2c3e50 100%);
  border: none;
  color: white;
  box-shadow: 0 4px 15px rgba(26, 84, 144, 0.3);
}

.new-hero .btn-primary-hero:hover {
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(243, 156, 18, 0.4);
}

.new-hero .btn-outline-hero {
  background: white;
  border: 2px solid #1a5490;
  color: #1a5490;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.new-hero .btn-outline-hero:hover {
  background: #1a5490;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(26, 84, 144, 0.3);
}

.hero-badge {
  animation: fadeInDown 0.8s ease;
}

.hero-description {
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-stats {
  animation: fadeInUp 0.8s ease 0.4s backwards;
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1a5490;
  margin-bottom: 0;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0;
  font-weight: 500;
}

.hero-image-wrapper {
  animation: fadeInRight 0.8s ease 0.3s backwards;
}

.hero-shape {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 84, 144, 0.1) 0%, rgba(243, 156, 18, 0.1) 100%);
  border-radius: 20px;
  transform: rotate(3deg);
  z-index: -1;
}

.hero-card {
  position: relative;
  z-index: 1;
  border: 4px solid white;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== PAGE HERO ========== */
.page-hero {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 20px 0;
  position: relative;
  /* margin-bottom: 40px; */
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(26, 84, 144, 0.03) 0%, transparent 70%);
}

.page-title {
  font-size: 2rem;
  font-weight: 800;
  color: #1a5490;
  margin-bottom: 15px;
}

.page-subtitle {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 0;
}

/* ========== VISION & MISSION CARDS ========== */
.vision-card,
.mission-card {
  height: 100%;
}

.modern-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  border: 1px solid #e8e8e8;
  transition: all 0.3s ease;
}

.modern-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.card-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #1a5490 0%, #2c3e50 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  color: white;
  font-size: 2rem;
}

.mission-card .card-icon {
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.card-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a5490;
  margin-bottom: 20px;
}

.card-text {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 0;
}

.card-decoration {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, rgba(26, 84, 144, 0.05) 0%, rgba(243, 156, 18, 0.05) 100%);
  border-radius: 50%;
  transform: translate(30%, 30%);
}

.mission-points {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mission-points li {
  padding: 12px 0;
  padding-left: 35px;
  position: relative;
  color: #555;
  line-height: 1.7;
  border-bottom: 1px solid #f0f0f0;
}

.mission-points li:last-child {
  border-bottom: none;
}

.mission-points li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 12px;
  width: 25px;
  height: 25px;
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
  border-radius: 50%;
  color: white;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}
.vision-points {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vision-points li {
  padding: 12px 0;
  padding-left: 35px;
  position: relative;
  color: #555;
  line-height: 1.7;
  border-bottom: 1px solid #f0f0f0;
}

.vision-points li:last-child {
  border-bottom: none;
}

.vision-points li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 12px;
  width: 25px;
  height: 25px;
  background: linear-gradient(135deg, #1a5490 0%, #2c3e50 100%);
  border-radius: 50%;
  color: white;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* ========== SECTION STYLES ========== */
.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, #1a5490 0%, #2c3e50 100%);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a5490;
  margin-bottom: 20px;
}

.section-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #1a5490, #f39c12);
  margin: 0 auto 20px;
  border-radius: 2px;
}

.section-description {
  font-size: 1.1rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ========== CORE VALUES GRID ========== */
.core-values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
}

.value-card {
  background: white;
  padding: 35px 25px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e8e8e8;
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.value-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #1a5490 0%, #2c3e50 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 1.8rem;
  transition: all 0.3s ease;
}

.value-card:hover .value-icon {
  transform: rotateY(180deg);
}

.value-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a5490;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0;
  line-height: 1.5;
}

/* PRINCIPAL EDITORIAL MODERN */
.principal-editorial {
  padding: 60px 0 80px;
  background:
    linear-gradient(135deg,
      #f8fbff 0%,
      #ffffff 100%);
}

.editorial-header {
  margin-bottom: 45px;
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1.5fr 380px;
  gap: 40px;
  align-items: start;
}

.editorial-content {
  background: #fff;
  border-radius: 30px;
  padding: 35px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, .05);
  border: 1px solid rgba(0, 0, 0, .05);
}

.quote-strip {
  display: flex;
  gap: 20px;
  padding: 25px;
  border-radius: 20px;
  background: linear-gradient(135deg, #eef6ff, #f8fbff);
  margin-bottom: 30px;
}

.quote-strip i {
  font-size: 2.5rem;
  color: #1a5490;
}

.quote-strip h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a5490;
  margin-bottom: 8px;
}

.quote-strip p {
  margin: 0;
  color: #64748b;
}

.principal-message p {
  color: #64748b;
  line-height: 1.9;
  margin-bottom: 18px;
}

.editorial-image {
  position: sticky;
  top: 120px;
}

.principal-image-card {
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .08);
  transition: .4s;
}

.principal-image-card:hover {
  transform: translateY(-8px);
}

.principal-image-card img {
  width: 100%;
  display: block;
}

.principal-tag {
  padding: 20px;
  text-align: center;
  background: linear-gradient(135deg, #1a5490, #245f9d);

  color: #fff;
}

.principal-tag h5 {
  margin-bottom: 5px;
  font-weight: 700;
}

.principal-tag span {
  opacity: .9;
}

.message-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.highlight-box {
  background: #f8fbff;
  border-radius: 20px;
  padding: 22px;
  text-align: center;
  transition: .35s;
}

.highlight-box:hover {
  transform: translateY(-6px);

  background: #eef6ff;
}

.highlight-box i {
  font-size: 2rem;
  color: #1a5490;
  margin-bottom: 12px;
}

.highlight-box h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.highlight-box p {
  margin: 0;
  color: #64748b;
  font-size: .9rem;
}

@media(max-width:991px) {

  .editorial-grid {
    grid-template-columns: 1fr;
  }

  .editorial-image {
    position: static;
    max-width: 400px;
    margin: auto;
    order: -1;
  }

  .message-highlights {
    grid-template-columns: 1fr;
  }
}

@media(max-width:576px) {

  .principal-editorial {
    padding: 50px 0;
  }

  .editorial-content {
    padding: 25px;
  }

  .quote-strip {
    flex-direction: column;
    text-align: center;
  }

  .quote-strip i {
    font-size: 2rem;
  }

  .quote-strip h4 {
    font-size: 1.1rem;
  }

}

/* ========== GALLERY SECTION ========== */
.gallery-filter-btn {
  background: white;
  border: 2px solid #e8e8e8;
  color: #666;
  padding: 10px 30px;
  border-radius: 30px;
  font-weight: 500;
  margin: 5px;
  transition: all 0.3s ease;
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: linear-gradient(135deg, #1a5490 0%, #2c3e50 100%);
  border-color: #1a5490;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(26, 84, 144, 0.3);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: all 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(26, 84, 144, 0.95) 100%);
  opacity: 0;
  transition: all 0.4s ease;
  display: flex;
  align-items: flex-end;
  padding: 25px;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-info {
  width: 100%;
  transform: translateY(20px);
  transition: all 0.4s ease;
  color: white;
}

.gallery-item:hover .gallery-info {
  transform: translateY(0);
}

.gallery-info h5 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.gallery-info p {
  font-size: 0.9rem;
  margin-bottom: 12px;
  opacity: 0.9;
}

.gallery-info .btn {
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.gallery-info .btn i {
  font-size: 1rem;
  margin-right: 5px;
}

/* ========== MODAL ICON STYLES ========== */
.modal .btn-close {
  background-color: white;
  opacity: 1;
  border-radius: 50%;
  padding: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 1055;
  transition: all 0.3s ease;
}

.modal .btn-close:hover {
  transform: scale(1.1);
  background-color: #f39c12;
}

.modal .carousel-control-prev,
.modal .carousel-control-next {
  width: 60px;
  opacity: 1;
}

.modal .carousel-control-prev-icon,
.modal .carousel-control-next-icon {
  background-color: #1a5490;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  background-size: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.modal .carousel-control-prev:hover .carousel-control-prev-icon,
.modal .carousel-control-next:hover .carousel-control-next-icon {
  background-color: #f39c12;
  transform: scale(1.1);
}

/* ========== CONTENT CARDS ========== */
.content-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e8e8e8;
  transition: all 0.3s ease;
  height: 100%;
}

.content-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.content-card .card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #1a5490 0%, #2c3e50 100%);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.content-card h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a5490;
  margin-bottom: 15px;
}

.content-card p {
  color: #666;
  line-height: 1.7;
  margin-bottom: 0;
}

/* ========== INFO TABLES ========== */
.info-table {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e8e8e8;
}

.info-table thead {
  background: linear-gradient(135deg, #1a5490 0%, #2c3e50 100%);
  color: white;
}

.info-table thead th {
  padding: 15px 20px;
  font-weight: 600;
  border: none;
}

.info-table tbody td {
  padding: 15px 20px;
  border-bottom: 1px solid #f0f0f0;
  color: #555;
}

.info-table tbody tr:last-child td {
  border-bottom: none;
}

.info-table tbody tr:hover {
  background: #f8f9fa;
}

/* ========== RESPONSIVE STYLES ========== */
@media (max-width: 768px) {
  .page-title {
    font-size: 1.5rem;
  }

  .page-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .stat-item {
    text-align: center;
  }

  .core-values-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .principal-qualifications {
    grid-template-columns: 1fr;
  }

  .gallery-item img {
    height: 200px;
  }

  .modal .btn-close {
    border-radius: 50%;
    padding: 8px;
    top: 15px;
    right: 15px;
  }

  .modal .carousel-control-prev-icon,
  .modal .carousel-control-next-icon {
    border-radius: 50%;
    width: 20px;
    height: 35px;
    background-size: 65%;
  }
}

/* ========== SECTION STYLES ========== */
.new-section {
  padding: 50px 0;
  position: relative;
}

.new-section-light {
  background: var(--light-bg);
}

.new-section-white {
  background: white;
}

.new-section-header {
  text-align: center;
  margin-bottom: 50px;
}

.new-section-header .badge {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.new-section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 20px 0;
  color: var(--text-dark);
}

.new-section-header .divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  margin: 0 auto;
  border-radius: 2px;
}

.new-section-header p {
  color: #666;
  max-width: 700px;
  margin: 20px auto 0;
}

/* ========== CARD STYLES ========== */
.new-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: 100%;
}

.new-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.new-card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.new-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.new-card:hover .new-card-img img {
  transform: scale(1.1);
}

.new-card-img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.new-card:hover .new-card-img-overlay {
  opacity: 1;
}

.new-card-body {
  padding: 25px;
}

.new-card-badge {
  display: inline-block;
  padding: 5px 15px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.new-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.new-card-text {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ========== FEATURE CARDS ========== */
.new-feature-card {
  background: white;
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: 100%;
}

.new-feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.new-feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: white;
  font-size: 2rem;
  transition: all 0.4s ease;
}

.new-feature-card:hover .new-feature-icon {
  transform: rotateY(180deg);
}

.new-feature-card h4 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.new-feature-card p {
  color: #666;
  line-height: 1.6;
}

/* ========== STATS SECTION ========== */
.new-stats-section {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  padding: 60px 0;
  color: white;
}

.new-stat-item {
  text-align: center;
  padding: 20px;
}

.new-stat-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  opacity: 0.9;
}

.new-stat-number {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 5px;
}

.new-stat-label {
  font-size: 1rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========== FOOTER ========== */
.new-footer {
  background: var(--footer-bg);
  color: white;
  padding: 60px 0 30px;
  position: relative;
  overflow: hidden;
}

.new-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
}

.new-footer h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.new-footer h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
}

.new-footer p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 20px;
}

.new-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.new-footer-links li {
  margin-bottom: 12px;
}

.new-footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.new-footer-links a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.new-footer-links a::before {
  content: '→';
  opacity: 0;
  transition: opacity 0.3s ease;
}

.new-footer-links a:hover::before {
  opacity: 1;
}

.new-footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.8);
}

.new-footer-contact-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  flex-shrink: 0;
}

.new-footer-social {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.new-footer-social a {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.new-footer-social a:hover {
  background: var(--accent-color);
  transform: translateY(-3px);
}

.new-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  margin-top: 40px;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.new-footer-bottom a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
}

/* ========== ANIMATIONS ========== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991px) {
  .header-content {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .header-logo-left,
  .header-logo-right {
    justify-content: center;
  }

  .header-logo-left img {
    width: 100px;
    height: 100px;
  }

  .header-logo-right img {
    width: 170px;
    height: 170px;
  }

  .header-center .english-title {
    font-size: 1.8rem;
  }
  .header-center .tamil-title {
    font-size: 1.5rem;
  }

  .header-center .subtitle {
    font-size: 0.95rem;
  }

  .header-center .location {
    font-size: 0.85rem;
  }

  .new-navbar .nav-link {
    font-size: 0.95rem;
    padding: 10px 15px !important;
  }

  .new-navbar .dropdown-item {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .header-logo-left img {
    width: 80px;
    height: 80px;
  }

  .header-logo-right img {
    width: 145px;
    height: 145px;
  }

  .header-center .english-title {
    font-size: 1.4rem;
  }
  .header-center .tamil-title {
    font-size: 1rem;
  }

  .header-center .subtitle {
    font-size: 0.85rem;
  }

  .header-center .location {
    font-size: 0.8rem;
  }

  .new-navbar .nav-link {
    font-size: 0.9rem;
    padding: 8px 12px !important;
  }

  .new-navbar .dropdown-item {
    font-size: 0.85rem;
  }

  /* Modern Hero Carousel Responsive */
  .hero-slide {
    height: auto;
    min-height: 550px;
    padding: 60px 0;
  }

  .hero-slide-full {
    height: 500px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.5rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-image {
    margin-top: 20px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .btn-hero-primary,
  .btn-hero-primary-light,
  .btn-hero-primary-green,
  .btn-hero-secondary,
  .btn-hero-secondary-light,
  .btn-hero-secondary-green {
    padding: 12px 25px;
    font-size: 0.9rem;
    width: 100%;
    text-align: center;
  }

  .modern-hero-section .carousel-control-prev,
  .modern-hero-section .carousel-control-next {
    width: 45px;
    height: 45px;
  }

  .modern-hero-section .carousel-control-prev-icon,
  .modern-hero-section .carousel-control-next-icon {
    width: 18px;
    height: 18px;
  }

  .hero-image {
    margin-top: 30px;
  }
}

@media (max-width: 767px) {
  .new-hero h1 {
    font-size: 2rem;
  }

  .new-hero p {
    font-size: 1rem;
  }

  .new-section-header h2 {
    font-size: 2rem;
  }

  .hero-slide {
    height: auto;
    min-height: 500px;
    padding: 40px 0;
  }

  .hero-slide-full {
    height: 400px;
  }

  .hero-content {
    text-align: center;
    margin-bottom: 30px;
  }

  .hero-image {
    margin-top: 20px;
  }

  .new-stat-number {
    font-size: 2.5rem;
  }
}

/* ========== MARQUEE ========== */
.new-marquee {
  background: var(--accent-color);
  color: white;
  padding: 12px 0;
  font-weight: 500;
}

.new-marquee a {
  color: white;
  text-decoration: none;
}

.new-marquee a:hover {
  text-decoration: underline;
}

/* MODERN SECTION HEADER */

.modern-section-header {
  margin-bottom: 40px;
}

.modern-badge {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 40px;
  background: rgba(26, 84, 144, 0.08);
  color: #1a5490;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.modern-section-header h2 {
  font-size: 4rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 20px;
}

.modern-section-header h2 span {
  color: #1a5490;
}

.modern-section-header p {
  max-width: 760px;
  margin: auto;
  color: #64748b;
  line-height: 1.9;
}

/* COURSES UI */

.courses-modern-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}


/* Custom Overrides for standard Bootstrap tabs/pills to match theme */
.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
  background-color: var(--primary-color);
  color: white;
}

.nav-pills .nav-link {
  color: var(--primary-color);
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.text-primary {
  color: var(--primary-color) !important;
}

/* EVENT PAGE */
.all-events-page {
  background: #fff;
}

#events-table {
  max-width: 1100px;
  margin: auto;
}

.event-page-card {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 30px;
  border-bottom: 1px solid #e5e7eb;
  transition: .3s;
}

.event-page-card:hover {
  background: #f8fafc;
}

.event-page-number {
  font-size: 4rem;
  font-weight: 800;
  color: #cbd5e1;
  min-width: 90px;
  line-height: 1;
}

.event-page-content {
  flex: 1;
}

.event-page-content h4 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

.event-page-date {
  color: #1e40af;
  font-weight: 600;
}

.event-page-content p {
  margin-top: 10px;
  color: #64748b;
}

.event-page-action {
  min-width: 150px;
  text-align: right;
}

.pagination-area {
  margin-top: 50px;
}

.pagination-area .btn {
  min-width: 130px;
  border-radius: 50px;
}

@media(max-width:768px) {

  .event-page-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .event-page-action {
    text-align: left;
  }

  .event-page-number {
    font-size: 3rem;
  }
}

/* ========== MULTI-LEVEL DROPDOWN SUBMENU ========== */
@media (min-width: 992px) {
  .dropdown-menu .dropdown-submenu {
    position: relative;
  }

  .dropdown-menu .dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
    margin-left: 0;
    border-radius: 12px;
    display: none;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  }

  .dropdown-menu .dropdown-submenu:hover>.dropdown-menu {
    display: block;
  }

  .dropdown-menu .dropdown-submenu>.dropdown-item::after {
    display: inline-block;
    content: "\F285";
    /* bi-chevron-right icon */
    font-family: "bootstrap-icons";
    float: right;
    border: 0;
    margin-top: 4px;
    font-size: 0.8rem;
    color: #666666;
    transition: transform 0.2s ease;
  }

  .dropdown-menu .dropdown-submenu:hover>.dropdown-item::after {
    color: #1a5490;
    transform: translateX(3px);
  }
}

/* Mobile responsive multi-level dropdown */
@media (max-width: 991.98px) {
  .dropdown-menu .dropdown-submenu .dropdown-menu {
    position: static;
    float: none;
    width: auto;
    box-shadow: none;
    border: none;
    background: rgba(0, 0, 0, 0.02);
    margin-left: 15px;
    margin-right: 15px;
    border-radius: 8px;
    display: none;
  }

  .dropdown-menu .dropdown-submenu .dropdown-menu.show {
    display: block;
  }

  .dropdown-menu .dropdown-submenu>.dropdown-item::after {
    display: inline-block;
    content: "\F229";
    /* bi-chevron-down icon */
    font-family: "bootstrap-icons";
    float: right;
    border: 0;
    margin-top: 4px;
    font-size: 0.8rem;
  }
}

/* COURSES + EVENTS SHOWCASE */

.campus-showcase-section {
  padding: 30px 0;
  background: #f8fbff;
}

.campus-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 30px;
  align-items: start;
}

.courses-panel,
.events-panel {
  background: #fff;
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .05);
  border: 1px solid rgba(0, 0, 0, .05);
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid #edf2f7;
}

.panel-header h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a5490;
  margin: 0;
}

.panel-header h3 i {
  margin-right: 10px;
}

.panel-header a {
  color: #f39c12;
  text-decoration: none;
  font-weight: 600;
}

.panel-header a:hover {
  color: #1a5490;
}

/* EVENTS */

.events-panel #events-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.event-list-item {
  border: none !important;
  background: #f8fbff !important;
  border-radius: 18px !important;
  padding: 18px !important;
}

.event-list-item:hover {
  background: #eef7ff !important;
}

/* MODERN EVENTS LIST */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
}

.event-card {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 18px 20px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: white;
  transition: all 0.3s ease;
}

.event-card:hover {
  border-color: #1a5490;
  box-shadow: 0 4px 15px rgba(26, 84, 144, 0.1);
  transform: translateX(5px);
}

.event-date-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 55px;
  height: 55px;
  background: linear-gradient(135deg, #1a5490 0%, #2c3e50 100%);
  border-radius: 8px;
  flex-shrink: 0;
}

.event-date-badge .event-day {
  font-size: 1.4rem;
  font-weight: 800;
  color: white;
  line-height: 1;
}

.event-date-badge .event-month {
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  margin-top: 2px;
}

.event-details {
  flex: 1;
  min-width: 0;
}

.event-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1a5490;
  margin-bottom: 6px;
  line-height: 1.4;
}

.event-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.event-title a:hover {
  color: #f39c12;
}

.event-description {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

.event-link {
  flex-shrink: 0;
  margin-left: 10px;
}

.event-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #1a5490;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.event-arrow:hover {
  color: #f39c12;
  transform: scale(1.1);
}

.btn-view-all-events {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(135deg, #1a5490 0%, #2c3e50 100%);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-view-all-events:hover {
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(243, 156, 18, 0.3);
}

/* View All Events Button Responsive */
@media (max-width: 768px) {
  .btn-view-all-events {
    position: static !important;
    margin-top: 15px;
    padding: 10px 25px;
    font-size: 0.9rem;
  }
}

/* History Page Styles */
.history-welcome {
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-left: 5px solid #1a5490;
}

.history-welcome h3 {
  color: #1a5490;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 20px;
}

.history-welcome .lead {
  color: #333;
  font-size: 1.1rem;
  line-height: 1.8;
}

.history-welcome p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 15px;
}

.history-section {
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.history-section h3 {
  color: #1a5490;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 25px;
  border-bottom: 3px solid #f39c12;
  padding-bottom: 15px;
}

.history-section h4 {
  color: #2c3e50;
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.history-section h5 {
  color: #34495e;
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.history-section .table {
  margin-bottom: 30px;
}

.history-section .table td {
  padding: 15px;
  vertical-align: middle;
}

.history-section .table td:first-child {
  font-weight: 600;
  color: #1a5490;
  width: 40%;
}

.logo-feature {
  background: #f8fbff;
  padding: 25px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
  height: 100%;
}

.logo-feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(26, 84, 144, 0.15);
  border-color: #1a5490;
}

.logo-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #1a5490 0%, #2c3e50 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.logo-icon i {
  font-size: 1.8rem;
  color: white;
}

.logo-feature h5 {
  color: #1a5490;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.logo-feature p {
  color: #555;
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

/* FORMS SECTION */
.forms-section {
  padding: 20px 0;
  background: #f8fbff;
}

.forms-section .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a5490;
  margin-bottom: 10px;
}

.forms-section .section-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #1a5490 0%, #f39c12 100%);
  margin: 20px auto;
  border-radius: 2px;
}

.forms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.form-category-card {
  background: white;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.form-category-card:hover {
  box-shadow: 0 8px 30px rgba(26, 84, 144, 0.1);
  border-color: #1a5490;
}

.form-category-header {
  display: flex;
  align-items: center;
  gap: 15px;
  /* margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f0f0f0; */
}

.form-category-header i {
  font-size: 2rem;
  color: #1a5490;
}

.form-category-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a5490;
  margin: 0;
}

.form-category-content {
  padding: 10px 0;
}

.form-category-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.form-category-column {
  padding: 10px;
}

.form-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 15px;
  background: #f8fbff;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.form-item a {
  flex: 1;
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.form-item:hover a {
  color: #1c4fdd;
}


/* Forms Section Responsive */
@media (max-width: 991px) {
  .forms-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .form-category-card {
    padding: 25px;
  }

  .form-category-header h3 {
    font-size: 1.3rem;
  }

  .form-category-columns {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .form-item {
    padding: 12px;
  }

  .form-item-name {
    font-size: 0.95rem;
  }
}

@media (max-width: 576px) {
  .forms-section {
    padding: 40px 0;
  }

  .forms-section .section-title {
    font-size: 2rem;
  }

  .form-category-card {
    padding: 20px;
  }

  .form-category-header {
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 15px;
  }

  .form-category-header i {
    font-size: 1.5rem;
  }

  .form-category-header h3 {
    font-size: 1.2rem;
  }

  .form-category-columns {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .form-list {
    gap: 10px;
  }

  .form-item {
    padding: 12px;
  }

  .form-item-name {
    font-size: 0.9rem;
  }
}

/* MOBILE */

@media(max-width:991px) {
  .campus-grid {
    grid-template-columns: 1fr;
  }

  .courses-panel,
  .events-panel {
    padding: 20px;
  }

}

@media(max-width:576px) {

  .panel-header h3 {
    font-size: 1.1rem;
  }

}

/* MODERN STAFF TABLE */

.staff-table-wrapper {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, .06);
  border: 1px solid #e5e7eb;
}

/* TABLE */

.staff-table {
  margin: 0;
  width: 100%;
}

/* HEADER */

.staff-table thead {
  background: linear-gradient(135deg, #1a5490, #245f9d);
}

.staff-table thead th {
  color: #1a5490 !important;
  border: none !important;
  padding: 20px;
  font-size: .95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* BODY */

.staff-table tbody td {
  padding: 18px 20px;
  vertical-align: middle;
  border-bottom: 1px solid #eef2f7;
  font-weight: 500;
}

/* ROW HOVER */
.staff-table tbody tr {
  transition: .3s ease;
}

.staff-table tbody tr:hover {
  background: #f8fbff;
  transform: scale(1.002);
}

/* SERIAL */

.staff-table tbody td:first-child {
  width: 80px;
  font-weight: 800;
  color: #1a5490;
  font-size: 1rem;
}

/* PHOTO */

.staff-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #e8f2ff;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .08);
}

/* NAME */
.staff-table tbody td:nth-child(3) {
  font-weight: 700;
  color: #0f172a;
}

/* DESIGNATION */
.staff-table tbody td:last-child {
  color: #64748b;
  font-weight: 600;
}

/* ALTERNATE ROW */
.staff-table tbody tr:nth-child(even) {
  background: #fbfdff;
}

/* MOBILE */

@media(max-width:768px) {

  .staff-table thead th {
    padding: 14px 10px;
    font-size: .75rem;
  }

  .staff-table tbody td {
    padding: 14px 10px;
    font-size: .85rem;
  }

  .staff-photo {
    width: 45px;
    height: 45px;
  }
}

/* MOBILE TABLE SCROLL */

.staff-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Custom Scrollbar */

.staff-table-wrapper::-webkit-scrollbar {
  height: 8px;
}

.staff-table-wrapper::-webkit-scrollbar-track {
  background: #eef2f7;
  border-radius: 20px;
}

.staff-table-wrapper::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #1a5490, #245f9d);
  border-radius: 20px;
}

.staff-table-wrapper::-webkit-scrollbar-thumb:hover {
  background: #1a5490;
}

/* Prevent table collapse */

.staff-table {
  min-width: 700px;
}

/* ========== DEPARTMENT TABS ENHANCEMENTS ========== */
.department-tabs {
  border-bottom: 2px solid #e8e8e8;
  gap: 15px;
  justify-content: center;
  margin-bottom: 30px;
}

.department-tabs .nav-item {
  margin-bottom: -2px;
}

.department-tabs .nav-link {
  border: none;
  color: #666666;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 15px 30px;
  border-radius: 30px 30px 0 0;
  transition: all 0.3s ease;
  background: transparent;
  position: relative;
}

.department-tabs .nav-link:hover {
  color: var(--primary-color);
  background: rgba(26, 84, 144, 0.05);
  border-color: transparent;
}

.department-tabs .nav-link.active {
  color: var(--primary-color);
  background: transparent;
  border-color: transparent;
}

.department-tabs .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transform: scaleX(0);
  transition: transform 0.3s ease;
  border-radius: 3px 3px 0 0;
}

.department-tabs .nav-link.active::after {
  transform: scaleX(1);
}

/* Enhancing Tab Content Cards */
#departmentTabsContent .tab-pane {
  animation: fadeInTab 0.5s ease-in-out;
}

@keyframes fadeInTab {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Polishing content-card inside tabs */
.tab-content .content-card {
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.tab-content .content-card:hover {
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
  transform: translateY(-5px);
}

/* ========== PREMIUM DEPARTMENT UI ENHANCEMENTS ========== */

.premium-overlap-section {
  margin-top: -80px;
  position: relative;
  z-index: 10;
}

.premium-overlap-card {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  transform: translateY(20px);
  opacity: 0;
  animation: floatUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.premium-overlap-card p {
  font-size: 1.15rem;
  line-height: 1.9;
  color: #4a5568;
  font-weight: 400;
  margin: 0;
}

@keyframes floatUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ========== VISION MODERN CARDS ========== */
.vision-modern-card,
.mission-modern-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid #e8e8e8;
  transition: all 0.3s ease;
  height: 100%;
}

.vision-modern-card:hover,
.mission-modern-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(26, 84, 144, 0.15);
}

.vision-bg-pattern,
.mission-bg-pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, rgba(26, 84, 144, 0.05) 0%, rgba(243, 156, 18, 0.05) 100%);
  border-radius: 50%;
  transform: translate(30%, -30%);
}

.vision-icon-wrapper,
.mission-icon-wrapper {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #1a5490 0%, #2c3e50 100%);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 8px 25px rgba(26, 84, 144, 0.3);
}

.mission-modern-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mission-modern-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  color: #555;
  line-height: 1.8;
}

.mission-modern-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: #f39c12;
  border-radius: 50%;
}

/* ========== CORE VALUES HORIZONTAL ========== */
.core-values-horizontal {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.value-horizontal-card {
  flex: 1 1 200px;
  max-width: 250px;
  background: white;
  border-radius: 15px;
  padding: 25px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e8e8e8;
  transition: all 0.3s ease;
}

.value-horizontal-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(26, 84, 144, 0.12);
  border-color: #1a5490;
}

.value-horizontal-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #1a5490 0%, #2c3e50 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.value-horizontal-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a5490;
  margin-bottom: 8px;
}

.value-horizontal-content p {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* ========== COURSES MODERN GRID ========== */
.courses-modern-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.course-modern-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid #e8e8e8;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.course-modern-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1a5490, #f39c12);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.course-modern-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(26, 84, 144, 0.15);
}

.course-modern-card:hover::before {
  transform: scaleX(1);
}

.course-modern-badge {
  display: inline-block;
  background: linear-gradient(135deg, #1a5490 0%, #2c3e50 100%);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.course-modern-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(26, 84, 144, 0.1) 0%, rgba(243, 156, 18, 0.1) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #1a5490;
  font-size: 2rem;
  transition: all 0.3s ease;
}

.course-modern-card:hover .course-modern-icon {
  background: linear-gradient(135deg, #1a5490 0%, #2c3e50 100%);
  color: white;
  transform: rotate(10deg);
}

.course-modern-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a5490;
  margin-bottom: 15px;
}

.course-modern-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  color: #666;
  font-size: 0.9rem;
}

.course-modern-meta i {
  color: #f39c12;
}

/* ========== SCHOLARSHIP MODERN GRID ========== */
.scholarship-modern-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.scholarship-modern-card {
  background: white;
  border-radius: 20px;
  padding: 35px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #e8e8e8;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.scholarship-modern-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #1a5490, #f39c12);
}

.scholarship-modern-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 45px rgba(26, 84, 144, 0.15);
}

.scholarship-modern-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.scholarship-modern-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #1a5490 0%, #2c3e50 100%);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.scholarship-modern-header h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a5490;
  margin: 0;
}

.scholarship-modern-desc {
  color: #666;
  line-height: 1.8;
  margin-bottom: 25px;
}

.scholarship-modern-list {
  margin-bottom: 25px;
}

.scholarship-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
}

.scholarship-item:last-child {
  border-bottom: none;
}

.scholarship-item i {
  color: #f39c12;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.scholarship-modern-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #1a5490 0%, #2c3e50 100%);
  color: white;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(26, 84, 144, 0.3);
}

.scholarship-modern-btn:hover {
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(243, 156, 18, 0.4);
}

.scholarship-modern-btn-outline {
  background: white;
  color: #1a5490;
  border: 2px solid #1a5490;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.scholarship-modern-btn-outline:hover {
  background: #1a5490;
  color: white;
  border-color: #1a5490;
}

.scholarship-modern-note {
  background: linear-gradient(135deg, rgba(26, 84, 144, 0.05) 0%, rgba(243, 156, 18, 0.05) 100%);
  border: 1px solid #e8e8e8;
  border-radius: 15px;
  padding: 20px 25px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: #555;
  font-size: 1rem;
  line-height: 1.7;
}

.scholarship-modern-note i {
  color: #1a5490;
  font-size: 1.5rem;
  flex-shrink: 0;
}