.about-header {
  text-align: center;
  background: linear-gradient(0deg,#f4eefa, #f0bfe7, #c4b4e8);
  color: rgb(15, 14, 14);
  padding: 20px 20px;
}

.about-header h2 {
  font-size: 2.5em;
  text-align: left;
  margin-bottom: none;
}

.about-header p {
  font-size: 1.1em;
  text-align: left;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding: 20px 20px;
}

.about-card {
  background: white;
  border-left: 8px solid transparent;
  border-image-slice: 1;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}
.about-card h3 {
  margin-bottom: 12px;
  font-size: 1.8em;
  font-weight: 700;
  color: #1a73e8;
  position: relative;
  padding-bottom: 10px;
  display: inline-block;
}

/* Animated Gradient Underline */
.about-card h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;          /* Full width underline */
  height: 2px;          /* Bigger underline */
  border-radius: 4px;
  background: linear-gradient(270deg, #f90808, #ccf501, #00ed53, #1a73e8,  #f201c6);
  background-size: 600% 600%;
  animation: gradientMove 3s ease infinite;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}




.about-card p, .about-card ul {
  color: #121111;
  font-size: 18px;
  line-height: 1.6;
}

.about-card ul {
  list-style-type: disc;
  padding-left: 20px;
}

/* Stylish Gradient Borders */
.mission {
  border-image: linear-gradient(45deg, #4caf50, #81c784) 1;
  border-radius: 20px;  /* Rounded corners */
  height: 350px;     
  text-align: justify;/* To clip inner content to the border radius */
}
.vision {
  border-image: linear-gradient(45deg, #2196f3, #64b5f6) 1;
  text-align: justify;
  border-radius: 20px;  /* Rounded corners */
  height: 300px;     /* To clip inner content to the border radius */
}

.why-us {
  border-image: linear-gradient(45deg, #ff9800, #ffb74d) 1;
  border-radius: 20px;  /* Rounded corners */
  height: 300px;     
  text-align: justify;/* To clip inner content to the border radius */
}

.faculty {
  border-image: linear-gradient(45deg, #9c27b0, #ce93d8) 1;
  border-radius: 20px;  /* Rounded corners */
  height: 300px; 
  text-align: justify;    /* To clip inner content to the border radius */
}



.faculty-showcase {
    text-align: center;
    margin: 60px 0;
}

.faculty-showcase h3 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #333;
}

.faculty-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.faculty-member {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: 15px;
    padding: 20px;
    width: 220px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.faculty-member:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.faculty-member img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
    border: 3px solid #4CAF50;
}

.faculty-member h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #222;
}

.faculty-member p {
    font-size: 14px;
    color: #555;
    margin: 5px 0;
}
.faculty-showcase {
    text-align: center;
    margin: 70px 0;
}

.faculty-showcase h3 {
    font-family: 'Sofia', sans-serif;
    font-size: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(45deg, #FFD700, #f62104);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.4);
    margin-bottom: 40px;
}


.faculty-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.faculty-member {
    background: linear-gradient(125deg, #d3caf5, #f5c5ed);
    border-radius: 20px;
    padding: 25px 20px;
    width: 230px;
    color: #141010;
    box-shadow: 0 10px 25px rgba(20, 19, 19, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

.faculty-member:hover {
    transform: scale(1.1) rotate(-1deg);
    box-shadow: 0 15px 30px rgba(243, 3, 167, 0.3);
}

.faculty-photo {
    margin-bottom: 25px;
}

.faculty-photo img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 12px rgba(255,255,255,0.6);
    object-fit: cover;
    transition: transform 0.3s ease;
}

.faculty-member:hover .faculty-photo img {
    transform: scale(1.20);
}

.faculty-member h4 {
    font-size: 20px;
    margin-bottom: 8px;
    font-weight: bold;
}

.faculty-member .specialization {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
    font-style: italic;
    color: #360bc3;
}

.faculty-member .experience {
    font-size: 13px;
    color: #b5057a;
}

.collaboration-section {
  display: flex;
  gap: 30px;
  padding: 40px 20px;
  background: #f0f8ff;
}

.companies-column, .achievements-column {
  flex: 1;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

h4 {
  font-size: 24px;
  background: linear-gradient(45deg, #16300e, #f7020e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
}

.logo-scroller {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.logo-wrapper {
  display: flex;
  flex-direction: column;
  gap: 15px;
  animation: scrollUp 20s linear infinite;
}

.logo-scroller img {
  width: 200px;
  height: auto;
  margin: 0 auto;
  transition: transform 0.3s;
}

.logo-scroller img:hover {
  transform: scale(1.3);
}

@keyframes scrollUp {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

.achievements-column ul {
  list-style: disc;
  padding-left: 20px;
  color: #444;
  line-height: 1.8;
}

.companies-column {
  flex: 0 0 30%;
}

.achievements-column {
  flex: 0 0 70%;
}