@font-face {
  font-family: 'ChopinScript';
  src: url('./fonts/CHOPINSCRIPT.TTF') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.testimonial-container {
  position: relative;
  padding: 20px;
  margin: 7rem auto;
  width: 35%;
  max-width: 900px;
  clear: both;
  float: none;
}

.testimonial-wrapper {
  position: relative;
  background: transparent;
  border-radius: 30px;
  padding: 2.5px;
  height: 175px;
  overflow: hidden;
  border: 0.2px solid #898787;
  margin: 0 auto;
}

.testimonial-carousel {
  position: relative;
  border-radius: 28px;
  padding: 10px 0;
  background-image: url('images/students-bg.png');
  background-size: cover;
  max-height: 100%;
  max-width: 100%;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  gap: 20px;
  padding: 0 40px;
  transition: transform 0.7s ease-in-out;
  will-change: transform;
  position: relative;
}

.testimonial-card {
  flex: 0 0 105%;
  max-width: 95%;
  min-width: 0;
  box-sizing: border-box;
  display: flex;
  align-items: stretch;
  opacity: 1;
  transition: box-shadow 0.3s, opacity 0.3s;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(44, 82, 130, 0.06);
}

.testimonial-inner {
  background: transparent;
  border-radius: 20px;
  padding: 10px;
  height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonial-content {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  height: 100%;
  margin-bottom: 10px;
}

.student-photo {
  width: 100px;
  height: 130px;
  border-radius: 10px;
  border: 0.5px solid white;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  margin-right: 0;
}

.student-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.student-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 0;
}

.student-details h3 {
  margin: 0 0 5px;
  font-size: 1.2rem;
  color: #333;
}

.student-details p {
  margin: 3px 0;
  color: #666;
  font-size: 0.9rem;
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
}

.prev-btn {
  left: 10px;
}

.next-btn {
  right: 10px;
}

.company {
  font-weight: bold;
  color: #2c5282;
}

.view-details-btn {
  position: relative;
  border: none;
  padding: 4px 14px;
  background: linear-gradient(#131313, #424242);
  color: #fff;
  box-shadow: inset 0 10px 5px rgba(150, 150, 150, .9);
  border-radius: 100px;
  isolation: above;
  display: inline-flex;
  z-index: unset;
  font-size: 10px;
  width: fit-content;
  margin-top: 5px;
  text-align: center;
  vertical-align: middle;
  min-width: auto;
  height: 20px;
  align-items: center;
}

.view-details-btn::after {
  content: "";
  position: absolute;
  inset: -3px;
  background: linear-gradient(#111 5%, #fff, #111 95%);
  z-index: -1;
  border-radius: inherit;
}

.view-details-btn:hover {
  cursor: pointer;
  background: linear-gradient(#000, #444);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .testimonial-container {
    width: 95%;
    height: 100%;
    margin: 2rem auto 1rem auto;
    padding: 0;
  }

  .testimonial-track {
    display: flex;
    justify-content: flex-start;
    padding: 0 16px;
    gap: 12px;
    transform: translateX(0);
  }

 /* Mobile: show 1.2 cards */

 @media (max-width: 768px) {
  .testimonial-card {
    flex: 0 0 89%;
    max-width: 89%;
    min-width: 0;
  }
}

  .testimonial-inner {
    padding: 8px;
    height: 155px;
    min-height: auto;
  }

  .testimonial-content {
    gap: 12px;
  }

  .student-photo {
    width: 90px;
    height: 120px;
  }

  .student-details h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
  }

  .student-details p {
    font-size: 0.85rem;
    margin: 2px 0;
  }

  .nav-btn {
    width: 32px;
    height: 32px;
  }

  .prev-btn {
    left: 0;
  }

  .next-btn {
    right: 0;
  }

  .view-details-btn {
    position: relative;
    border: none;
    padding: 6px 16px;
    background: linear-gradient(#131313, #424242);
    color: #fff;
    box-shadow: inset 0 10px 5px rgba(150, 150, 150, .9);
    border-radius: 100px;
    isolation: above;
    display: inline-flex;
    z-index: unset;
    font-size: 10px;
    width: fit-content;
    margin-top: 3px;
    min-width: auto;
  }
}

/* Intern Openings Styles - Simple positioning */
.main-content-section {
    position: relative;
    margin: 9rem auto 7rem auto;
    max-width: 1400px;
    padding: 0 20px;
}

.left-panel {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 17.5rem; /* 280px converted to rem */
    z-index: 5;
}

.center-panel {
    width: 100%;
    position: relative;
}

.center-panel .testimonial-container {
    margin: 0 auto;
    width: 35%;
    max-width: 56.25rem; /* 900px converted to rem */
}

.intern-openings-box {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 0.9375rem; /* 15px converted to rem */
    padding: 1rem;
    backdrop-filter: blur(0.625rem); /* 10px converted to rem */
    border: 1px solid #d1d5db;
    transition: all 0.3s ease;
    max-height: 20rem; /* 320px converted to rem */
    overflow: hidden;
}

.intern-openings-box:hover {
    transform: translateY(1.8125rem); /* 29px converted to rem */
    border-color: #9ca3af;
}

.section-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 0.8rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0, 123, 255, 0.1);
}

.intern-jobs-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    max-height: 200px;
    overflow-y: auto;
    padding-right: 0.3rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(102, 126, 234, 0.3) transparent;
}

.intern-jobs-count {
    font-size: 0.75rem;
    color: #666;
    margin-left: 0.5rem;
    font-weight: 500;
}

.intern-jobs-list::-webkit-scrollbar {
    width: 0.375rem; /* 6px converted to rem */
}

.intern-jobs-list::-webkit-scrollbar-track {
    background: transparent;
}

.intern-jobs-list::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.3);
    border-radius: 0.1875rem; /* 3px converted to rem */
}

.intern-jobs-list::-webkit-scrollbar-thumb:hover {
    background: rgba(102, 126, 234, 0.5);
}

.intern-job-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.7rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.intern-job-item:hover {
    transform: translateX(5px);
    background: rgba(102, 126, 234, 0.05);
    border-color: rgba(102, 126, 234, 0.2);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
}

.job-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.job-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    line-height: 1.2;
}

.job-arrow {
    font-size: 1.2rem;
    color: #9ca3af;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.intern-job-item:hover .job-arrow {
    transform: translateX(3px);
}

/* Responsive Design for Intern Openings */
/* Large tablets and small desktops */
@media (max-width: 1200px) {
    .main-content-section {
        flex-direction: column;
        gap: 2rem;
        max-width: 75rem; /* 1200px converted to rem */
    }
    
    .left-panel {
        flex: none;
        width: 100%;
        max-width: 37.5rem; /* 600px converted to rem */
        margin: 0 auto;
        position: static;
        transform: none;
    }
    
    .center-panel .testimonial-container {
        width: 80%;
        max-width: 50rem; /* 800px converted to rem */
    }
}

/* Medium screens (13-15 inch laptops) */
@media (max-width: 1024px) {
    .main-content-section {
        margin: 6rem auto 5rem auto;
        padding: 0 1.25rem; /* 20px converted to rem */
        max-width: 64rem; /* 1024px converted to rem */
    }
    
    .left-panel {
        width: 100%;
        max-width: 32rem; /* 512px converted to rem */
        margin-bottom: 2rem;
    }
    
    .intern-openings-box {
        max-height: 18rem; /* 288px converted to rem */
        padding: 0.875rem; /* 14px converted to rem */
    }
    
    .center-panel .testimonial-container {
        width: 90%;
        max-width: 45rem; /* 720px converted to rem */
    }
}

/* Small laptops and large tablets */
@media (max-width: 900px) {
    .main-content-section {
        margin: 4rem auto 3rem auto;
        gap: 1.5rem;
    }
    
    .left-panel {
        max-width: 28rem; /* 448px converted to rem */
    }
    
    .intern-openings-box {
        max-height: 16rem; /* 256px converted to rem */
    }
    
    .intern-jobs-list {
        max-height: 10rem; /* 160px converted to rem */
        gap: 0.375rem; /* 6px converted to rem */
    }
}

/* Mobile and small tablets */
@media (max-width: 768px) {
    .main-content-section {
        display: flex;
        flex-direction: column;
        margin: 0rem auto -3.125rem auto; /* -50px converted to rem */
        padding: 0 1.25rem; /* 20px converted to rem */
    }
    
    .left-panel {
        position: static;
        width: 100%;
        order: 2; /* Move internships section after testimonials */
        margin-top: 2.5rem; /* 40px converted to rem */
        margin-bottom: 1rem;
        z-index: auto;
        transform: none;
    }
    
    .center-panel {
        order: 1; /* Testimonials appear first */
        width: 100%;
        position: static;
    }
    
    /* Reset testimonial container for mobile */
    .center-panel .testimonial-container {
        width: 98% !important;
        margin: 0 auto !important;
        padding: 0.625rem 0 !important; /* 10px converted to rem */
    }
    
    .intern-openings-box {
        max-height: 12.5rem; /* 200px converted to rem */
        padding: 0.8rem;
    }
    
    .intern-jobs-list {
        max-height: 6.25rem; /* 100px converted to rem */
        gap: 0.3rem;
    }
    
    .section-title {
        font-size: 0.8rem;
        margin-bottom: 0.6rem;
    }
    
    .job-title {
        font-size: 0.75rem;
    }
    
    .intern-job-item {
        padding: 0.4rem 0.6rem;
    }
    
    /* Additional mobile spacing adjustments */
    .testimonial-wrapper {
        margin: 0;
        padding: 0;
    }
    
    .testimonial-carousel {
        padding: 0.5rem 0; /* 8px converted to rem */
    }
}


