/* Professor Page Custom Styles */

/* Professor Profile Section */
.team-details-content .top-content .title {
  color: #2c3e50 !important;
  font-size: 42px !important;
  margin-bottom: 12px !important;
  font-weight: 700 !important;
  letter-spacing: -0.5px;
}

.team-details-content .top-content span {
  color: #0066cc !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  display: inline-block;
  margin-bottom: 20px;
}

.team-details-content .top-content span a {
  color: #0066cc !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  border-bottom: 2px solid transparent;
}

.team-details-content .top-content span a:hover {
  color: #0052a3 !important;
  border-bottom: 2px solid #0066cc;
}

.team-details-content .top-content .text {
  color: #2d3748 !important;
  line-height: 1.9 !important;
  font-size: 15.5px !important;
}

.team-details-content .top-content .text b {
  color: #2c3e50 !important;
  font-weight: 600 !important;
}

/* Link Styling - No underlines, clear hover effect */
.team-details-content .top-content .text a {
  color: #0066cc !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  transition: all 0.3s ease !important;
  border-bottom: 2px solid transparent;
}

.team-details-content .top-content .text a:hover {
  color: #0052a3 !important;
  border-bottom: 2px solid #0066cc;
}

/* Special styling for email and CV links */
.team-details-content .top-content .text a[href^="mailto"],
.team-details-content .top-content .text a[href*=".pdf"] {
  background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600 !important;
  border-bottom: 2px solid transparent;
}

.team-details-content .top-content .text a[href^="mailto"]:hover,
.team-details-content .top-content .text a[href*=".pdf"]:hover {
  background: linear-gradient(135deg, #004c99 0%, #003d7a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  border-bottom: 2px solid #0066cc;
}

.team-details-content .lower-content .title {
  color: #2c3e50 !important;
  font-size: 30px !important;
  margin-bottom: 24px !important;
  font-weight: 700 !important;
  border-left: 4px solid #0066cc;
  padding-left: 16px;
}

.team-details-content .lower-content p {
  color: #2d3748 !important;
  line-height: 1.85 !important;
  text-align: justify;
  font-size: 15.5px !important;
}

/* Education & Research Experience Sections */
.education-section h3.education-title,
.possition-section h3.education-title {
  color: #2c3e50 !important;
  font-size: 32px !important;
  font-weight: 700 !important;
  margin-bottom: 40px !important;
  border-left: 4px solid #0066cc;
  padding-left: 16px;
}

.inner-section .inner-content .single-item {
  margin-bottom: 40px !important;
  padding-left: 25px;
  position: relative;
  transition: all 0.4s ease;
}

.inner-section .inner-content .single-item:hover {
  padding: 12px 12px 12px 25px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 102, 204, 0.12);
}

.inner-section .inner-content .single-item .date {
  color: #0066cc !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.inner-section .inner-content .single-item h4 {
  color: #2c3e50 !important;
  font-weight: 700 !important;
  font-size: 21px !important;
  margin-bottom: 10px !important;
  line-height: 1.4;
}

.inner-section .inner-content .single-item h5 {
  color: #2d3748 !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1.6;
}

.inner-section .inner-content .single-item .text {
  color: #2d3748 !important;
  line-height: 1.7 !important;
  font-size: 15px !important;
}

.inner-section .inner-content .single-item .text b {
  color: #2c3e50 !important;
  font-weight: 600 !important;
}

/* Timeline dot */
.inner-section .inner-content .single-item h4:before {
  background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%) !important;
  width: 18px !important;
  height: 18px !important;
  left: -68px !important;
  top: 5px !important;
  box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

/* Timeline line */
.inner-section .inner-content .content-box:before {
  background: linear-gradient(180deg, #0066cc 0%, #cbd5e0 50%, #e2e8f0 100%) !important;
  width: 3px !important;
  border-radius: 2px;
}

/* Awards Section */
.award-section h3.award-title {
  color: #2c3e50 !important;
  font-size: 32px !important;
  font-weight: 700 !important;
  margin-bottom: 40px !important;
  border-left: 4px solid #0066cc;
  padding-left: 16px;
}

/* Visual section separators */
.education-section {
  position: relative;
}

.education-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #cbd5e0 50%, transparent 100%);
}

.award-section {
  position: relative;
}

.award-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #cbd5e0 50%, transparent 100%);
}

.award-section .content-box .single-item {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 16px 18px;
  border-radius: 8px;
  margin-bottom: 20px !important;
  border-left: 3px solid transparent;
  background: rgba(255, 255, 255, 0.5);
}

.award-section .content-box .single-item:hover {
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
  border-left: 3px solid #0066cc;
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.08);
}

.award-section .content-box .single-item span {
  color: #0066cc !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 8px;
}

.award-section .content-box .single-item h4 {
  color: #2c3e50 !important;
  font-weight: 600 !important;
  font-size: 17.5px !important;
  margin-bottom: 8px !important;
  line-height: 1.5;
}

.award-section .content-box .single-item .text {
  color: #2d3748 !important;
  line-height: 1.6 !important;
  font-size: 14.5px !important;
}

/* Improved Section Spacing */
.team-details {
  padding: 90px 0 70px 0 !important;
}

.education-section, .possition-section {
  padding: 90px 0 70px 0 !important;
}

.award-section {
  padding: 90px 0 70px 0 !important;
}

/* Background colors */
.gray-bg {
  background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f5 100%) !important;
}

.white-bg {
  background: #ffffff !important;
}

/* Profile Image Enhancement */
.team-details .image-box img {
  transition: all 0.4s ease;
  filter: brightness(1.02) contrast(1.05);
}

.team-details .image-box:hover img {
  filter: brightness(1.05) contrast(1.08);
}

/* Smooth scrolling behavior */
html {
  scroll-behavior: smooth;
}
