/* Langauge button */
span.langauge {
    border: 1px solid #2c9296;
    padding: 0.3rem 0.5rem;
    border-radius: 5px;
}

.navmenu a i, .navmenu a:focus i {
    font-size: 17px;
    margin-left: 0px;
}

.modal-header {
    border-bottom: none;
}

.modal-content {
    border-radius: 0;
}

/* .carousel-inner {
    padding: 1rem;
} */

.carousel-item {
    padding: 1rem;
    border: 1px solid #e6e6e6;
}

.ads h5, .ads p {
    /* color: #c22929; */
    color: none;
}

h5.event-title {
    color: #c12026;
    font-size: 1rem;
    padding-bottom: 0.2rem;
}

.page-title {
    color: var(--default-color);
    background-color: #eaf4fb;
    position: relative;
    padding-top: 0px;
    padding-bottom: 0px;
}

.page-title .heading {
    padding: 70px 0;
}

.page-title nav {
    background-color: color-mix(in srgb, var(--default-color), transparent 96%);
    padding: 20px 0;
}

.page-title nav ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 16px;
    font-weight: 400;
}

.page-title .breadcrumbs a {
    color:var(--accent-color);
}

.values-section .value-item {
    text-align: center;
    padding: 2rem 1rem;
    transition: transform 0.3s ease;
}

.values-section .value-item:hover .value-icon {
    background: var(--accent-color);
    transform: scale(1.1);
}

.values-section .value-item .value-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--accent-color), transparent 90%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.values-section .value-item .value-icon i {
    font-size: 2rem;
    color: var(--accent-color);
}

.values-section .value-item:hover .value-icon i {
    color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .service-sidebar {
  position: sticky;
  top: 120px;
}

.service-details .service-sidebar .service-overview-card,
.service-details .service-sidebar .quick-info-card,
.service-details .service-sidebar .contact-action-card {
  background-color: var(--surface-color);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 95%);
}

.service-details .service-sidebar .service-overview-card {
  text-align: center;
}

.service-details .service-sidebar .service-overview-card .service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), black 20%));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.service-details .service-sidebar .service-overview-card .service-icon i {
  font-size: 2rem;
  color: var(--contrast-color);
}

.service-details .service-sidebar .service-overview-card h3 {
  color: var(--heading-color);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.service-details .service-sidebar .service-overview-card p {
  color: var(--default-color);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.service-details .service-sidebar .service-overview-card .service-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.service-details .service-sidebar .service-overview-card .service-stats .stat-item {
  text-align: center;
}

.service-details .service-sidebar .service-overview-card .service-stats .stat-item .stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-color);
  line-height: 1;
}

.service-details .service-sidebar .service-overview-card .service-stats .stat-item .stat-label {
  font-size: 0.85rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-top: 0.5rem;
}

.service-details .service-sidebar .quick-info-card h4 {
  color: var(--heading-color);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.service-details .service-sidebar .quick-info-card .info-grid .info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}

.service-details .service-sidebar .quick-info-card .info-grid .info-row:last-child {
  border-bottom: none;
}

.service-details .service-sidebar .quick-info-card .info-grid .info-row .label {
  color: var(--default-color);
  font-weight: 500;
  font-size: 0.95rem;
}

.service-details .service-sidebar .quick-info-card .info-grid .info-row .value {
  color: var(--accent-color);
  font-weight: 600;
  font-size: 0.95rem;
}

.service-details .service-sidebar .contact-action-card h4 {
  color: var(--heading-color);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.service-details .service-sidebar .contact-action-card .contact-text {
  color: var(--default-color);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-details .service-sidebar .contact-action-card .contact-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.service-details .service-sidebar .contact-action-card .contact-methods .contact-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.service-details .service-sidebar .contact-action-card .contact-methods .contact-btn i {
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

.service-details .service-sidebar .contact-action-card .contact-methods .contact-btn span {
  color: var(--default-color);
  font-weight: 500;
  font-size: 0.9rem;
}

.service-details .service-sidebar .contact-action-card .contact-methods .contact-btn:hover {
  background-color: var(--accent-color);
  transform: translateY(-2px);
}

.service-details .service-sidebar .contact-action-card .contact-methods .contact-btn:hover i,
.service-details .service-sidebar .contact-action-card .contact-methods .contact-btn:hover span {
  color: var(--contrast-color);
}

.service-details .service-sidebar .contact-action-card .btn {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
  font-weight: 600;
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.service-details .service-sidebar .contact-action-card .btn:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 15%);
  border-color: color-mix(in srgb, var(--accent-color), black 15%);
  transform: translateY(-2px);
}

.service-details .service-main-content .hero-section {
  position: relative;
  overflow: hidden;
  margin-bottom: 3rem;
}

/* .service-details .service-main-content .hero-section img {
  width: 100%;
  height: 350px;
  object-fit: cover;
} */

.service-details .service-main-content .hero-section .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}

.service-details .service-main-content .hero-section .hero-overlay .hero-badge {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.service-details .service-main-content .hero-section .hero-overlay .hero-badge i {
  font-size: 1.1rem;
}

.service-details .service-main-content .content-section {
  margin-bottom: 3rem;
}

.service-details .service-main-content .content-section h1 {
  color: var(--heading-color);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.service-details .service-main-content .content-section .content-intro p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--default-color);
  margin-bottom: 1.5rem;
}

.service-details .service-main-content .content-section .content-intro p:last-child {
  margin-bottom: 0;
}

.service-details .service-main-content .capabilities-grid {
  margin-bottom: 4rem;
}

.service-details .service-main-content .capabilities-grid h2 {
  color: var(--heading-color);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2.5rem;
  text-align: center;
}

.service-details .service-main-content .capabilities-grid .capability-card {
  background-color: var(--surface-color);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  height: 100%;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 95%);
  transition: all 0.3s ease;
}

.service-details .service-main-content .capabilities-grid .capability-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.service-details .service-main-content .capabilities-grid .capability-card .capability-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), black 20%));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.service-details .service-main-content .capabilities-grid .capability-card .capability-icon i {
  font-size: 1.8rem;
  color: var(--contrast-color);
}

.service-details .service-main-content .capabilities-grid .capability-card h4 {
  color: var(--heading-color);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.service-details .service-main-content .capabilities-grid .capability-card p {
  color: var(--default-color);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.service-details .service-main-content .methodology-section h2 {
  color: var(--heading-color);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 3rem;
  text-align: center;
}

.service-details .service-main-content .methodology-section .methodology-timeline {
  position: relative;
}

.service-details .service-main-content .methodology-section .methodology-timeline::before {
  content: "";
  position: absolute;
  left: 40px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-color), color-mix(in srgb, var(--accent-color), transparent 50%));
}

.service-details .service-main-content .methodology-section .methodology-timeline .timeline-item {
  position: relative;
  padding-left: 120px;
  margin-bottom: 3rem;
}

.service-details .service-main-content .methodology-section .methodology-timeline .timeline-item:last-child {
  margin-bottom: 0;
}

.service-details .service-main-content .methodology-section .methodology-timeline .timeline-item .timeline-marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), black 20%));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.service-details .service-main-content .methodology-section .methodology-timeline .timeline-item .timeline-marker .phase-number {
  color: var(--contrast-color);
  font-size: 1.5rem;
  font-weight: 700;
}

.service-details .service-main-content .methodology-section .methodology-timeline .timeline-item .timeline-content {
  background-color: var(--surface-color);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 95%);
}

.service-details .service-main-content .methodology-section .methodology-timeline .timeline-item .timeline-content h4 {
  color: var(--heading-color);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.service-details .service-main-content .methodology-section .methodology-timeline .timeline-item .timeline-content p {
  color: var(--default-color);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-details .service-main-content .methodology-section .methodology-timeline .timeline-item .timeline-content .phase-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-details .service-main-content .methodology-section .methodology-timeline .timeline-item .timeline-content .phase-features li {
  color: var(--default-color);
  font-size: 0.95rem;
  padding: 0.4rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.service-details .service-main-content .methodology-section .methodology-timeline .timeline-item .timeline-content .phase-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: 600;
}

.service-details .portfolio-showcase .showcase-header {
  margin-bottom: 2rem;
}

.service-details .portfolio-showcase .showcase-header h2 {
  color: var(--heading-color);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.service-details .portfolio-showcase .showcase-header p {
  color: var(--default-color);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.service-details .portfolio-showcase .project-showcase-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  height: 100%;
}

.service-details .portfolio-showcase .project-showcase-item .project-image {
  position: relative;
  height: 100%;
  min-height: 250px;
}

.service-details .portfolio-showcase .project-showcase-item .project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-details .portfolio-showcase .project-showcase-item .project-image .project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-details .portfolio-showcase .project-showcase-item .project-image .project-overlay .project-info {
  text-align: center;
  color: var(--contrast-color);
  padding: 1.5rem;
}

.service-details .portfolio-showcase .project-showcase-item .project-image .project-overlay .project-info h4 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.service-details .portfolio-showcase .project-showcase-item .project-image .project-overlay .project-info p {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.service-details .portfolio-showcase .project-showcase-item .project-image .project-overlay .project-info .view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
}

.service-details .portfolio-showcase .project-showcase-item .project-image .project-overlay .project-info .view-btn i {
  font-size: 1.2rem;
}

.service-details .portfolio-showcase .project-showcase-item .project-image .project-overlay .project-info .view-btn:hover {
  background-color: color-mix(in srgb, var(--accent-color), white 20%);
  transform: scale(1.1);
}

.service-details .portfolio-showcase .project-showcase-item:hover .project-image img {
  transform: scale(1.05);
}

.service-details .portfolio-showcase .project-showcase-item:hover .project-image .project-overlay {
  opacity: 1;
}

@media (max-width: 992px) {
  .service-details .service-sidebar {
    position: static;
    margin-top: 3rem;
  }

  .service-details .service-main-content .content-section h1 {
    font-size: 2rem;
  }

  .service-details .service-main-content .methodology-section .methodology-timeline::before {
    left: 30px;
  }

  .service-details .service-main-content .methodology-section .methodology-timeline .timeline-item {
    padding-left: 100px;
  }

  .service-details .service-main-content .methodology-section .methodology-timeline .timeline-item .timeline-marker {
    width: 60px;
    height: 60px;
  }

  .service-details .service-main-content .methodology-section .methodology-timeline .timeline-item .timeline-marker .phase-number {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .service-details .service-sidebar .contact-action-card .contact-methods {
    grid-template-columns: 1fr;
  }

  .service-details .service-main-content .hero-section img {
    height: 250px;
  }

  .service-details .service-main-content .hero-section .hero-overlay {
    padding: 1.5rem;
  }

  .service-details .service-main-content .capabilities-grid .row {
    --bs-gutter-y: 2rem;
  }

  .service-details .service-main-content .methodology-section .methodology-timeline::before {
    display: none;
  }

  .service-details .service-main-content .methodology-section .methodology-timeline .timeline-item {
    padding-left: 0;
    text-align: center;
  }

  .service-details .service-main-content .methodology-section .methodology-timeline .timeline-item .timeline-marker {
    position: relative;
    margin: 0 auto 1.5rem;
  }
}

.search-form .search-input {
    line-height: 2.2rem;
}

.form-control:focus {
    border: var(--bs-border-width) solid var(--bs-border-color);
    outline: none;
    box-shadow: none;
}

.center-list {
  font-size: 14px;
  line-height: 22px;
}

.center-list h5 {
  font-size: 17px;
}

.center-list ul li {
  border: var(--bs-border-width) solid var(--bs-border-color);
  border-radius: .4rem;
  background: #fafcfd;
  cursor: pointer;
  padding: 10px;
  margin-bottom: 3px;
}

.contact .info-item i {
    margin-right: 0px;
    margin-left: 15px;
}

/**
  * Events page styles
  */
  /* Truncated content state */
.event-content.truncated {
    max-height: 200px; /* Adjust height as needed */
    overflow: hidden;
    position: relative;
}

/* Fade effect at bottom of truncated content */
.event-content.truncated::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent, white);
    pointer-events: none;
}

/* Smooth transition for expansion */
.event-content {
    transition: max-height 0.3s ease-in-out;
}

/* Toggle link styles */
.read-more-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #0d6efd;
    text-decoration: none;
    font-weight: 500;
    margin-top: 10px;
    cursor: pointer;
}

.read-more-toggle:hover {
    text-decoration: underline;
}

/* RTL support for arrow icon */
[dir="rtl"] .read-more-toggle i.bi-arrow-left {
    transform: rotate(180deg);
}

.read-more-toggle.expanded i.bi-arrow-left {
    transform: rotate(180deg);
}

/* Services */
.services .service-item .icon {
  position: absolute;
  left: 20px;
  top: 10px;
  width: 70px;
}
.icon-width {
  width: 80px;
}

/* Buttons colors */
.btn-primary {
  background: var(--accent-color);
  border: 1px solid #2778b5;
}

.btn-primary:hover {
  background: #2172af;
  border: 1px solid #2778b5;
}

.stats .stats-item i {
    float: right;
}

.stats .stats-item .purecounter {
    margin-right: 60px;
}

/*--------------------------------------------------------------
# Departments Section
--------------------------------------------------------------*/
.departments .department-card {
  position: relative;
  background-color: var(--surface-color);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #f2f2f2;
}

.departments .department-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.departments .department-card:hover .department-image img {
  transform: scale(1.05);
}

.departments .department-card:hover .department-icon {
  transform: scale(1.1);
  color: var(--contrast-color);
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), var(--heading-color) 20%));
}

.departments .department-card:hover .learn-more {
  color: var(--accent-color);
}

.departments .department-card:hover .learn-more i {
  transform: translateX(5px);
}

.departments .department-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.departments .department-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.departments .department-content {
  padding: 30px 25px 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.departments .department-content h3 {
  font-size: 22px;
  font-weight: bold;
  color: var(--heading-color);
  font-family: var(--heading-font);
  line-height: 1.3;
}

.departments .department-content p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}

.departments .department-content .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--heading-color);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  margin-top: auto;
}

.departments .department-content .learn-more span {
  font-family: var(--heading-font);
}

.departments .department-content .learn-more i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

@media (max-width: 768px) {
  .departments .department-card {
    margin-bottom: 20px;
  }

  .departments .department-image {
    height: 240px;
  }

  .departments .department-content {
    padding: 25px 20px 20px;
  }

  .departments .department-content h3 {
    font-size: 20px;
  }

  .departments .department-content p {
    font-size: 14px;
  }
}

/* QuilJs special classes */
.ql-align-center {
    text-align: center !important;
}

.ql-align-right {
    text-align: right !important;
}

.ql-align-left {
    text-align: left !important;
}

.ql-align-justify {
    text-align: justify !important;
}