/* 
---------------------
Tagline
---------------------
*/

.marquee-item {
  color: white;
}

.marquee-align {
  padding-top: 0.5rem;
}

/* 
==================================
     Our Team
================================== */

/* Main section container */
.training-placement-team-section {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 0 15px;
  /* Added padding for smaller screens */
}

.training-placement-team-section-heading {
  font-size: 3rem;
  color: #e87a27;
  /* Orange color for the heading */
  margin-bottom: 3rem;
  font-weight: 700;
}

/* Flex container for the team cards */
.training-placement-team-container {
  display: flex;
  /* flex-wrap: wrap; */
  /* Allow cards to wrap to the next line */
  justify-content: center;
  gap: 2rem;
  /* Space between cards */
}

/* Individual team card styling */
.training-placement-team-card {
  background-color: #ffffff;
  border-radius: 15px;
  /* Rounded corners */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  /* Increased padding for better spacing */
  width: 300px;
  /* Slightly adjusted width */
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s, box-shadow 0.3s;
  opacity: 0;
  transform: translateY(50px);
}

.training-placement-team-card.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.training-placement-team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Team member photo */
.training-placement-team-member-photo {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  /* Makes the image circular */
  object-fit: cover;
  /* Prevents image distortion */
  border: 4px solid #fbd3b2;
  /* Light orange border */
  margin-bottom: 1.5rem;
}

/* Team member name */
.training-placement-team-member-name {
  font-family:'Arial Nova';
  font-size: 1.6rem;
  /* Adjusted for better fit */
  font-weight: 700;
  color: #333;
  margin-bottom: 0.5rem;
}

/* Team member role/title */
.training-placement-team-member-role {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  color: #252323fc;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

/* Team member email and phone */
.training-placement-team-member-email,
.training-placement-team-member-phone {
  font-size: 0.9rem;
  color: #777;
  word-break: break-all;
  /* Ensures long text doesn't overflow */
}

.training-placement-team-member-email {
  margin-bottom: 0.5rem;
  overflow-wrap: break-word;
  /* Prevents overflow */
}

.training-placement-team-member-phone {
  margin-bottom: 1rem;
}

/* Social media links container */
.training-placement-team-social-links {
  display: flex;
  gap: 1.5rem;
  /* Space between icons */
  margin-top: auto;
  /* Pushes social links to the bottom */
}

.training-placement-team-social-links a {
  color: #333;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.training-placement-team-social-links a:hover {
  color: #e87a27;
  /* Orange color on hover */
}

/* Responsive design for smaller screens */

/* For large tablets and small desktops */
@media (max-width: 992px) {
  .training-placement-team-card {
    width: calc(50% - 2rem);
    /* Two cards per row */
  }
}

/* For tablets */
@media (max-width: 768px) {
  .training-placement-team-section-heading {
    font-size: 2.5rem;
  }

  .training-placement-team-container {
    flex-direction: column;
    /* Stack cards vertically */
    align-items: center;
  }

  .training-placement-team-card {
    width: 100%;
    /* Make cards full-width on mobile */
    max-width: 400px;
    /* Set a max-width for better appearance */
  }
}

/* For mobile phones */
@media (max-width: 576px) {
  .training-placement-team-section-heading {
    font-size: 2rem;
  }

  .training-placement-team-member-name {
    font-size: 1.4rem;
  }
}




/* 
-----------------------
About PCU Video
----------------------
*/

.video-wrapper {
  width: 100%;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 20px;
  /* Rounded corners for the video */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* 
------------------------
Contact Us Select Course
------------------------
*/

section.contact-us #contact select {
  width: 100%;
  height: 40px;
  border-radius: 20px;
  background-color: #f7f7f7;
  outline: none;
  border: none;
  box-shadow: none;
  font-size: 13px;
  font-weight: 500;
  color: #7a7a7a;
  padding: 0px 15px;
  margin-bottom: 30px;
}

/* 
-----------------------
Accordian
-----------------------
*/

.custaccordion {
  font-size: 20px;
  font-weight: 700;
  color: #1f272b;
  cursor: pointer;
  padding: 18px;
  /* transition: color 200ms ease-in-out; */
  /* border-bottom: 1px solid #fff; */
  /* position: relative; */
  display: flex;
  justify-content: space-between;
  /* align-items: center; */
}

.accordions .accordion-borderbottom {
  border-bottom: 1px solid #eee;
}

@media screen and (min-width: 768px) {
  .custaccordion {
    padding: 1rem;
    font-size: 1.2rem;
  }
}

.custaccordion.active {
  color: #f9a825; /* orange highlight */
}

.custaccordion::after {
  content: "\25B6"; /* Right arrow ► */
  font-size: 16px;
  transition: transform 0.3s ease;
}

.custaccordion.active::after {
  content: "\25BC"; /* Down arrow ▼ */
}

.panel {
  padding: 0 15px 15px;
  display: none;
  border-bottom: 1px solid #ddd;
}

.panel p {
  margin: 8px 0;
}

.panel strong {
  font-weight: bold;
}

/* 
--------------------------
Our Courses
--------------------------
*/

section.our-courses .section-heading {
  text-align: center;
}

/* 
--------------------------
Our Partner
--------------------------
*/

.our-partner-accordions {
  border-radius: 20px;
  padding: 40px;
  background-color: #fff;
  margin-left: 45px;
  margin-right: 45px;
}

/* .section-heading-partner h2 {
  line-height: 40px;
  margin-top: 0px;
  margin-bottom: 50px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(250, 250, 250, 0.15);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
} */

.section-heading-partner h2 {
  /* line-height: 40px;
  margin-top: 0px;
  margin-bottom: 50px;
  padding-bottom: 20px; */
  border-bottom: 1px solid rgba(250, 250, 250, 0.15);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  color: #0f0f0f;
  text-align: center;
}

section.our-partner {
  background-image: url(../images/meetings-bg.jpg);
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 110px;
  padding-bottom: 110px;
}

section.our-partner .section-heading {
  text-align: center;
}

.our-partners-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.our-partners-slider-track {
  display: flex;
  animation: scrolling 35s linear infinite;
}

.our-partners-slider:hover .our-partners-slider-track {
  animation-play-state: paused;
}

@keyframes scrolling {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-180px * 10));
  }
}

.our-partners-slide {
  width: 180px;
  flex-shrink: 0;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 1rem;
}

.our-partners-slide img {
  max-width: 100%;
  /* max-height: 100px; */
  max-height: 10rem;
  object-fit: contain;
}

.our-partners-slide:hover img {
  transform: scale(1.1);
}

/* ==================================
     Student Testimonial CSS
    ================================== */

/* Section Header */
.section-header-testimonial {
  margin-bottom: 2rem;
  text-align: center;
}

.section-header-testimonial small {
  font-weight: 700;
  font-size: 0.9rem;
  color: #f79521;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 60px;
}

.section-header-testimonial h2 {
  font-weight: 900;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  margin: 0;
  color: #212529;
}

.section-header-testimonial h2 .highlight {
  color: #f79521;
}

.section-header-testimonial p {
  max-width: 480px;
  margin: 0.5rem auto 0;
  font-size: 0.85rem;
  color: #6c757d;
}

/* --- SLIDER MODIFICATIONS START --- */

/* 1. Wrapper to create the "window" for the slider */
.slider-wrapper {
  overflow: hidden;
  margin-top: 2.5rem;
  /* Optional: Add a fade effect at the edges */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}

/* 2. Pause animation on hover */
.slider-wrapper:hover .testimonials-grid {
  animation-play-state: paused;
}

/* Testimonials Grid -> now a Flex container for the slider */
.testimonials-grid {
  display: flex;
  /* Changed from grid to flex */
  gap: 1rem;
  padding: 0;
  list-style: none;
  /* 3. Apply the animation */
  animation: slide 30s linear infinite;
}

/* 4. Define the sliding animation */
@keyframes slide {
  from {
    transform: translateX(0);
  }

  to {
    /* Move left by the width of the first 4 cards + their gaps */
    transform: translateX(calc(-4 * 280px - 4 * 1rem));
  }
}

.testimonial-card {
  background: #fff;
  border-radius: 1.75rem 0 1.75rem 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  width: 280px;
  /* Use fixed width for consistent sliding */
  flex-shrink: 0;
  /* Prevent cards from shrinking */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem 1.3rem 1.7rem 1.3rem;
  position: relative;
  text-align: left;
  transition: transform 0.3s ease;
}

/* --- SLIDER MODIFICATIONS END --- */

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 16px rgba(0, 0, 0, 0.15);
}

/* Rating */
.rating {
  font-size: 0;
  margin-bottom: 0.45rem;
  white-space: nowrap;
  user-select: none;
}

.stars {
  color: #f79521;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  display: inline-block;
}

.stars::before {
  content: "★★★★★";
}

.rating-number {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #f79521;
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.2rem 0.45rem 0 0.5rem;
  border-radius: 50% 10% 50% 50%;
  user-select: none;
  line-height: 1;
}

/* Text */
.testimonial-text {
  font-size: 0.82rem;
  color: #444;
  font-style: italic;
  margin-bottom: 1.2rem;
  min-height: 86px;
  /* Keeping consistent height for alignment */
}

/* Profile */
.profile {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.profile img {
  /* --- INCREASED IMAGE SIZE --- */
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.profile-info {
  font-size: 0.85rem;
  color: #212529;
  font-weight: 700;
  display: flex;
  flex-direction: column;
}

.profile-info span {
  font-weight: 600;
  font-size: 0.75rem;
  color: #f79521;
  margin-top: 3px;
}

/* Responsive Dots as Carousel Indicator (just visual) */
.dots {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
  gap: 0.6rem;
  user-select: none;
}

.dot {
  width: 14px;
  height: 6px;
  border-radius: 5px;
  background: #f79521aa;
  cursor: default;
  transition: background-color 0.3s ease;
}

.dot.active {
  background: #f79521;
  width: 20px;
  height: 6px;
}

/* 
-------------------------
Contact Button
-------------------------
*/
section.contact-us #contact a {
  font-size: 13px;
  color: #fff;
  background-color: #a12c2f;
  padding: 12px 30px;
  display: inline-block;
  border-radius: 22px;
  font-weight: 500;
  text-transform: uppercase;
  transition: all 0.3s;
  border: none;
  outline: none;
}

.form-link:hover span {
  color: #fff;
  text-decoration: underline;
}

/* .blink {
          animation: blinker 2s linear infinite;
          color: #fff;
          font-family: sans-serif;
        } */

/* @keyframes blinker {
          50% {
            opacity: 0;
          }
      } */
