.gpm-tc-container {
  width: 100%;
}

.gpm-tc-container-main {
  width: 90%;
  height: auto;
  margin: auto;
}

.gpm-tc-container-main h2 {
  font-size: 25px;
  font-weight: bold;
  margin: 0;
  color: #000;
}

.gpm-tc-container-main .gpm-heading-main {
  color: #c21717;
}

.gpm-tc-section {
  border-bottom: 1px solid #e5e7eb;
  position: relative;
}

.gpm-tc-section:last-child {
  border-bottom: none;
}

.gpm-tc-section h2 {
  font-size: 2.2rem;
  color: #1e40af;
  margin-bottom: 25px;
  border-left: 5px solid #1e40af;
  padding-left: 15px;
  font-weight: 700;
  display: inline-block;
}

.gpm-tc-section p {
  font-size: 1.1rem;
  text-align: justify;
  margin-bottom: 25px;
  color: black;
  max-width: 100%;
  line-height: 1.8;
}

.gpm-department-tc-hod {
  padding: 60px 40px;
  display: flex;
  align-items: center;
  gap: 40px;
  border-bottom: 1px solid #e5e7eb;
  background-color: rgba(219, 234, 254, 0.3);
}

.gpm-department-tc-hod img {
  width: 320px;
  height: 320px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border: 8px solid white;
  transition: transform 0.3s ease;
}

.gpm-department-tc-hod img:hover {
  transform: scale(1.05);
}

.gpm-department-tc-hod-details {
  flex: 1;
}

.gpm-department-tc-hod-details h2 {
  font-size: 2.2rem;
  color: #1e40af;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.gpm-department-tc-hod-details h2::after {
  content: '';
  position: absolute;
  width: 60%;
  height: 3px;
  background-color: #1e40af;
  bottom: -5px;
  left: 0;
}

.gpm-department-tc-hod-details p {
  font-size: 1.1rem;
  text-align: justify;
  line-height: 1.8;
}

.gpm-tc-faculty-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.gpm-tc-faculty-card {
  background: #ffffff;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  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;
  position: relative;
}

.gpm-tc-faculty-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.gpm-tc-faculty-card img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.gpm-tc-faculty-card:hover img {
  transform: scale(1.05);
}

.gpm-tc-faculty-info {
  padding: 20px;
}

.gpm-tc-faculty-card h3 {
  margin: 10px 0 5px;
  font-size: 1.4rem;
  color: #1e40af;
  font-weight: 600;
}

.gpm-tc-faculty-card p {
  font-size: 1rem;
  color: black;
  text-align: center;
  margin-bottom: 15px;
}

.gpm-tc-faculty-social {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.gpm-tc-faculty-social a {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #dbeafe;
  align-items: center;
  justify-content: center;
  color: #1e40af;
  font-size: 18px;
  transition: all 0.3s ease;
}

.gpm-tc-faculty-social a:hover {
  background-color: #2563eb;
  color: white;
  transform: translateY(-3px);
}

.gpm-tc-courses-container {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  padding: 30px;
  margin-top: 30px;
}

.gpm-tc-courses-list {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gpm-tc-courses-list li {
  position: relative;
  padding-left: 30px;
  font-size: 1.1rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.gpm-tc-courses-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #2563eb;
  font-weight: bold;
  font-size: 1.2rem;
}

.gpm-department-tc-laboratory {
  padding: 15px 10px;
  border-bottom: 1px solid #e5e7eb;
  background-color: rgba(239, 246, 255, 0.6);
}

.gpm-department-tc-laboratory h2 {
  font-size: 2.2rem;
  color: #1e40af;
  margin-bottom: 25px;
  border-left: 5px solid #2563eb;
  padding-left: 15px;
  font-weight: 700;
}

.gpm-department-tc-lab-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.gpm-department-tc-lab-card {
  background: #ffffff;
  padding: 0;
  border-radius: 12px;
  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;
}

.gpm-department-tc-lab-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.gpm-department-tc-lab-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: all 0.3s ease;
}

.gpm-department-tc-lab-card:hover img {
  transform: scale(1.05);
}

.gpm-department-tc-lab-content {
  padding: 25px;
}

.gpm-department-tc-lab-card h3 {
  font-size: 1.6rem;
  color: #1e40af;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.gpm-department-tc-lab-card h3::after {
  content: '';
  position: absolute;
  width: 40%;
  height: 3px;
  background-color: #2563eb;
  bottom: -5px;
  left: 0;
}

.gpm-department-tc-lab-card p {
  font-size: 1rem;
  color: black;
  text-align: justify;
  line-height: 1.7;
}

.gpm-tc-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  text-align: center;
  margin: 40px 0;
}

.gpm-tc-stat-item {
  background-color: #ffffff;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.gpm-tc-stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.gpm-tc-stat-item::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #2563eb, #4f46e5);
  top: 0;
  left: 0;
}

.gpm-tc-stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: #1e40af;
  margin-bottom: 10px;
  line-height: 1;
}

.gpm-tc-stat-label {
  font-size: 1rem;
  color: black;
  font-weight: 500;
}

.gpm-tc-cta {
  text-align: center;
  padding: 60px 40px;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: #f8fafc;
  border-radius: 0 0 12px 12px;
}

.gpm-tc-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: white;
}

.gpm-tc-cta p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.9);
}

.gpm-tc-cta-button {
  display: inline-block;
  padding: 15px 40px;
  background-color: white;
  color: #1e40af;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.gpm-tc-cta-button: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);
  background-color: #4f46e5;
  color: white;
}

.gpm-tc-footer {
  background-color: #1e40af;
  color: #f8fafc;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

@media (max-width: 992px) {
  .gpm-tc-header h1 {
    font-size: 2.5rem;
  }

  .gpm-tc-nav-link {
    padding: 12px 15px;
    font-size: 0.9rem;
  }

  .gpm-department-tc-lab-cards {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .gpm-tc-container {
    border-radius: 8px;
  }

  .gpm-tc-header {
    padding: 40px 20px;
  }

  .gpm-tc-header h1 {
    font-size: 2rem;
  }

  .gpm-tc-header p {
    font-size: 1.1rem;
  }

  .gpm-tc-section h2,
  .gpm-department-tc-laboratory h2 {
    font-size: 1.8rem;
  }

  .gpm-department-tc-hod {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .gpm-department-tc-hod img {
    width: 70%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .gpm-department-tc-hod-details h2::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .gpm-tc-nav-container {
    flex-wrap: wrap;
  }

  .gpm-tc-nav-item {
    flex: 1 0 auto;
    width: 33.333%;
    text-align: center;
  }

  .gpm-tc-nav-link {
    padding: 10px;
    font-size: 0.85rem;
  }

  .gpm-tc-courses-list {
    grid-template-columns: 1fr;
  }

  .gpm-tc-faculty-cards,
  .gpm-department-tc-lab-cards {
    grid-template-columns: 1fr;
  }

  .gpm-tc-stats {
    grid-template-columns: 1fr 1fr;
  }

  .gpm-tc-stat-number {
    font-size: 2.5rem;
  }

  .gpm-tc-placement-company {
    flex: 1 0 120px;
    height: 80px;
  }

  .gpm-tc-cta h2 {
    font-size: 2rem;
  }
}