/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
  color: #1a1a1a;
  line-height: 1.7;
  overflow-x: hidden;
}

.container {
  max-width: 1350px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Enhanced Navigation with Black Theme */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 50;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.shadow {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  background: rgba(255, 255, 255, 0.99);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  padding: 0 20px;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  font-weight: 800;
  color: #000000;
  transition: all 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
  color: #333333;
}

.desktop-nav {
  display: none;
  gap: 8px;
}

.desktop-nav a {
  color: #4a4a4a;
  text-decoration: none;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.desktop-nav a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #000000;
  transition: left 0.3s ease;
  z-index: -1;
}

.desktop-nav a:hover::before,
.desktop-nav a.active::before {
  left: 0;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.mobile-menu-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.mobile-menu-button:hover {
  background: #f7f7f7;
  transform: scale(1.1);
}

.menu-icon {
  width: 28px;
  height: 28px;
  color: #4a4a4a;
}

.mobile-menu {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-top: 1px solid #e5e5e5;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.mobile-menu.hidden {
  display: none;
}

.mobile-menu .menu-items {
  padding: 20px;
}

.mobile-menu a {
  display: block;
  padding: 16px 20px;
  color: #4a4a4a;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.mobile-menu a:hover {
  background: #000000;
  color: white;
  transform: translateX(10px);
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }
  .mobile-menu-button {
    display: none;
  }
}

/* Enhanced Progress Bar */
.progress-bar-container {
  position: fixed;
  top: 70px;
  width: 100%;
  height: 4px;
  background: rgba(0, 0, 0, 0.1);
  z-index: 40;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #000000 0%, #333333 50%, #666666 100%);
  width: 0;
  transition: width 0.3s ease;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

/* Dramatically Improved Hero Section */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: #000000;
}

.bg-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  /*filter: brightness(0.7) contrast(1.2) saturate(0.8);*/
  transition: all 0.3s ease;
  will-change: transform;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.4) 100%);
}

#hero .content {
  position: relative;
  text-align: center;
  color: white;
  max-width: 1000px;
  padding: 60px 40px;
  animation: fadeInUp 1.2s ease-out;
  z-index: 10;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(2px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 900;
  margin-bottom: 25px;
  letter-spacing: -3px;
  animation: slideInLeft 1.2s ease-out 0.3s both;
  color: #ffffff;
  line-height: 0.9;
  background-image: url("convocation 1.jpg");
  background-size: cover;
  background-position: center;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 1.5px #ffffff; /* Adds white border around text */
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

#hero p:first-of-type {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 5vw, 3rem);
  margin-bottom: 15px;
  animation: slideInRight 1.2s ease-out 0.6s both;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8);
  color: #ffffff;
  font-weight: 600;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

#hero .subtext {
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  margin-bottom: 35px;
  opacity: 0.95;
  animation: fadeIn 1.2s ease-out 0.9s both;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
  color: #ffffff;
  font-weight: 500;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

#hero .meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  font-size: 20px;
  opacity: 0.9;
  animation: fadeIn 1.2s ease-out 1.2s both;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  color: #ffffff;
  font-weight: 500;
}

#hero .meta .separator {
  display: none;
}

@media (min-width: 768px) {
  #hero .meta {
    flex-direction: row;
    justify-content: center;
  }
  #hero .meta .separator {
    display: block;
    font-weight: bold;
    color: #cccccc;
  }
}

/* Enhanced Section Styles */
section {
  padding: 120px 0;
  position: relative;
}

section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #e0e0e0 50%, transparent 100%);
}

.header {
  text-align: center;
  margin-bottom: 80px;
  animation: fadeInUp 0.8s ease-out;
}

.header h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  font-weight: 900;
/*  color: #047fc7;*/
  color: #047fc7;
  position: relative;
}

.divider {
  width: 120px;
  height: 4px;
  background: #047fc7;
  margin: 0 auto;
  border-radius: 3px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Spectacular Spotlight Section */
#spotlight {
  background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
  position: relative;
}

.articles {
  display: flex;
  flex-direction: column;
  gap: 60px;
  position: relative;
}

.article {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
}

.article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #000000;
}

.article:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.article {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.article-content {
  padding: 50px;
  flex: 1;
}

.featured-tag {
  display: inline-block;
  background: #000000;
  color: white;
  padding: 10px 24px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 25px;
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.article h3 {
  font-family: "Inter", serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 25px;
/*  color: #000000;*/
   color:#3A81AD;
  line-height: 1.2;
  transition: color 0.3s ease;
}

.article:hover h3 {
  color: #333333;
}

.article p {
  color: #4a4a4a;
  font-size: 18px;
  line-height: 1.8;
  font-weight: 400;
}

.article-images,
.single-image {
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.single-image {
  height: 100%;
  display: flex;
  align-items: center;
}

.single-image img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  transition: all 0.4s ease;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.article-images img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  transition: all 0.4s ease;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.article-images img:hover,
.single-image img:hover {
  transform: scale(1.05);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

@media (min-width: 768px) {
  .article {
    flex-direction: row;
    align-items: center;
  }
  .article-content,
  .article-images,
  .single-image {
    flex: 1;
    padding: 60px;
  }
}

/* Elegant Interview Section with Smaller Hero Image */
#interview {
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
}

.hero {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
/*  border-radius: 24px;*/
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
  margin-bottom: 50px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
}

.hero:hover {
  transform: translateY(-5px);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.12);
}

.hero .image-container {
  position: relative;
  overflow: hidden;
  flex: 0.6;
}

.hero img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hero:hover img {
  transform: scale(1.1);
}

.hero .gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
}

.hero .content {
  padding: 40px;
  flex: 1.4;
}

.hero h3 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #000;
  margin-bottom: 15px;
}

.hero .subtitle {
  font-size: 20px;
  color: #666666;
  margin-bottom: 15px;
  font-weight: 600;
}

.hero .highlight {
  font-size: 18px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero .text {
  font-size: 16px;
  color: #4a4a4a;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .hero {
    display: flex;
  }
  .hero img {
    height: 100%;
    min-height: 220px;
  }
  .hero .content {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* Beautiful Gallery */
.gallery {
  background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
  border-radius: 24px;
  padding: 40px;
  margin-bottom: 50px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.gallery h3 {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  font-weight: 700;
  color: #000000;
  text-align: center;
  margin-bottom: 30px;
}

.masonry-grid {
  column-count: 2;
  column-gap: 20px;
}

.masonry-item {
  display: inline-block;
  width: 100%;
  margin-bottom: 20px;
/*  border-radius: 16px;*/
  break-inside: avoid;
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
}

.masonry-item:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.masonry-item img {
/*
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 16px;
  transition: all 0.4s ease;
*/
}

@media (min-width: 768px) {
  .masonry-grid {
    column-count: 3;
  }
}

@media (min-width: 1024px) {
  .masonry-grid {
    column-count: 4;
  }
}

/* Sophisticated Interview Content */
.content {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
  padding: 50px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.intro p {
  font-size: 20px;
  color: #4a4a4a;
  font-style: italic;
  border-left: 4px solid #000000;
  padding: 25px;
  background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
  border-radius: 0 16px 16px 0;
  margin-bottom: 40px;
  position: relative;
}

.intro p::before {
  content: '"';
  font-size: 60px;
  color: #000000;
  position: absolute;
  top: -10px;
  left: 10px;
  font-family: "Playfair Display", serif;
}

.qa {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.qa-item {
  border-left: 6px solid #000000;
  padding: 30px;
  border-radius: 0 20px 20px 0;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
}

.qa-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #000000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.qa-item:hover {
  transform: translateX(10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.qa-item:hover::before {
  opacity: 0.02;
}

.qa-item h4 {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 15px;
  line-height: 1.4;
}

.qa-item p {
  font-size: 16px;
  color: #4a4a4a;
  line-height: 1.8;
}

.advice {
  /*background: linear-gradient(135deg, #000000 0%, #333333 100%);*/
  color: #000;
  border-radius: 20px;
  padding: 40px;
  margin-top: 50px;
  position: relative;
  overflow: hidden;
}

.advice::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.advice h4 {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
}

.advice p {
  font-size: 18px;
  color: #4a4a4a;
  line-height: 1.8;
  position: relative;
}

.rapid-fire {
  background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
  border-radius: 20px;
  padding: 40px;
  margin-top: 40px;
}

.rapid-fire h4 {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  font-weight: 700;
  color: #000000;
  text-align: center;
  margin-bottom: 30px;
}

.rapid-fire .grid {
  display: grid;
  gap: 20px;
}

.rapid-fire .item {
  background: white;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.rapid-fire .item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.rapid-fire .item h5 {
  font-size: 16px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 12px;
}

.rapid-fire .item p {
  font-size: 15px;
  color: #4a4a4a;
  font-style: italic;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .rapid-fire .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Enhanced Faculty Achievements */
#faculty {
  background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
}

#faculty .grid {
  display: grid;
  gap: 30px;
}

#faculty .card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  padding: 30px;
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

#faculty .card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #000000;
}

#faculty .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

#faculty .flex {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

#faculty img {
  width: 220px;
  height: 220px;
  object-fit: cover;
 /* border-radius: 16px;*/
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

#faculty .card:hover img {
  transform: scale(1.1);
}

#faculty h3 {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 10px;
}

#faculty .highlight {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  padding: 6px 16px;
  border-radius: 20px;
  display: inline-block;
  color: #000000;
  background: rgba(0, 0, 0, 0.1);
}

#faculty p {
  font-size: 15px;
  color: #4a4a4a;
  line-height: 1.7;
}

@media (min-width: 768px) {
  #faculty .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Enhanced Convocation Section - 30% Bigger Testimonials */
#convocation {
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
}

#convocation .container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

#convocation .header {
  text-align: center;
  margin-bottom: 48px;
}

#convocation .header h2 {
  font-family: "Playfair Display", serif;
  font-size: 36px;
  font-weight: 700;
  color: #047fc7;
}

@media (min-width: 768px) {
  #convocation .header h2 {
    font-size: 48px;
  }
}

#convocation .divider {
  width: 64px;
  height: 4px;
  background-color: #111827;
  border-radius: 2px;
  margin: 0 auto;
}

#convocation .date {
  font-family: "Inter", sans-serif;
  font-size: 20px;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 600;
}

#convocation .gallery1 {
  margin-bottom: 48px;
  width: 100%;
}

#convocation .gallery1 .main-image {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
/*  border-radius: 20px;*/
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
}

#convocation .gallery1 .main-image:hover {
  transform: scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

#convocation .description {
  width: 100%;
  max-width: none;
  margin: 0 auto 48px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

#convocation .description p {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  color: #374151;
  line-height: 1.8;
  text-align: justify;
  width: 100%;
}


/* Improved Pyramid Testimonials Layout - 30% Bigger */
#convocation .testimonials {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px; /* Increased from 40px */
  margin-bottom: 83px; /* Increased from 64px */
  transform: scale(1); /* Scale up by 30% */
  transform-origin: center;
}

/* Top Testimonial - Properly Sized */
#convocation .testimonial-top {
  width: auto;
  display: flex;
  justify-content: center;
}

#convocation .testimonial-top .testimonial {
  max-width: 2600px; /* Increased from 2000px */
  width: 100%;
}

/* Bottom Testimonials - Side by Side */
#convocation .testimonials-bottom {
  display: flex;
  flex-direction: column;
  gap: 31px; /* Increased from 24px */
  width: 100%;
  max-width: 1300px; /* Increased from 1000px */
}

@media (min-width: 768px) {
  #convocation .testimonials-bottom {
    flex-direction: row;
    gap: 31px; /* Increased from 24px */
  }
  
  #convocation .testimonials-bottom .testimonial {
    flex: 1;
  }
}

/* Testimonial Card Styling - 30% Bigger */
#convocation .testimonial {
  background-color: #ffffff;
  border-radius: 21px; /* Increased from 16px */
  padding: 38px; /* Increased from 32px */
  box-shadow: 0 13px 20px rgba(0, 0, 0, 0.1); /* Increased shadow */
  transition: all 0.3s ease;
  width: 100%;
}

#convocation .testimonial:hover {
  transform: translateY(-5px); /* Increased from -4px */
  box-shadow: 0 20px 33px rgba(0, 0, 0, 0.15); /* Increased shadow */
}

#convocation .testimonial h1 {
  font-family: "Playfair Display", serif;
  font-size: 29px; /* Increased from 22px */
  font-weight: 700;
  color: #111827;
  margin-bottom: 31px; /* Increased from 24px */
  text-align: center;
}

/* Testimonial Content Layout */
#convocation .testimonial .flex {
  display: flex;
  flex-direction: column;
  gap: 26px; /* Increased from 20px */
  align-items: center;
}

@media (min-width: 768px) {
  #convocation .testimonial .flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 31px; /* Increased from 24px */
  }
}

/* Consistent Image Sizing for All Testimonials - 30% Bigger */
#convocation .testimonial img:not(.signature) {
  width: 100%;
  object-fit: cover;

  box-shadow: 0 5px 8px rgba(0, 0, 0, 0.1); /* Increased shadow */
  flex-shrink: 0;
}

@media (min-width: 768px) {
  #convocation .testimonial img:not(.signature) {
   /* height: 260px;*/ /* Increased from 200px */
  }
}

/* Text Content Styling - 30% Bigger */
#convocation .testimonial .text-content {
  flex: 1;
  min-width: 0;
}

#convocation .testimonial blockquote {
  font-family: "Inter", sans-serif;
  font-size: 21px; /* Increased from 16px */
  font-style: italic;
  color: #4b5563;
  line-height: 1.65;
  margin-bottom: 21px; /* Increased from 16px */
  padding-left: 21px; /* Increased from 16px */
  border-left: 5px solid #111827; /* Increased from 4px */
  text-align: left;
}

#convocation .testimonial cite {
  font-family: "Playfair Display", serif;
  font-size: 21px; /* Increased from 16px */
  font-weight: 700;
  color: #111827;
  display: block;
  margin-bottom: 21px; /* Increased from 16px */
  text-align: left;
}

#convocation .testimonial .signature {
  width: 104px; /* Increased from 80px */
  height: auto;
  opacity: 0.8;
  margin-top: 10px; /* Increased from 8px */
}

/* Gallery Styling */
#convocation .gallery {
  margin-top: 64px;
  background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

#convocation .gallery h3 {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  font-weight: 700;
  color: #047fc7;
  text-align: center;
  margin-bottom: 30px;
}

#convocation .masonry-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 16px;
}

@media (min-width: 640px) {
  #convocation .masonry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  #convocation .masonry-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  #convocation .masonry-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

#convocation .masonry-item {
  width: 100%;
  height: auto;
  /*border-radius: 16px;*/
  break-inside: avoid;
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
}

#convocation .masonry-item:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

#convocation .masonry-item img {
  width: 100%;
  height:100%;
  object-fit: cover;
 /* border-radius: 16px;*/
  transition: all 0.4s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
 /* border: 3px solid #047fc7;*/
}

/* Stunning Alumni Section */
#alumni {
  background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
}

#alumni .grid {
  display: grid;
  gap: 30px;
}

#alumni .card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

#alumni .card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #000000;
}

#alumni .card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

#alumni img {
  width: 100%;
  height: 350px;
  object-fit: cover;
 /* border-radius: 16px;*/
  margin-bottom: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
}

#alumni .card:hover img {
  transform: scale(1.1);
}

#alumni h3 {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 8px;
}

#alumni .subtitle {
  font-size: 14px;
  color: #666666;
  margin-bottom: 10px;
  font-weight: 600;
}

#alumni .highlight {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  padding: 6px 16px;
  border-radius: 20px;
  display: inline-block;
  color: #000000;
  background: rgba(0, 0, 0, 0.1);
}

#alumni p {
  font-size: 14px;
  color: #4a4a4a;
  line-height: 1.6;
}

@media (min-width: 768px) {
  #alumni .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  #alumni .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Enhanced Giving Back Section with Much Bigger Images */
#giving {
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
}

.memorial-funds,
.contributors {
  margin-bottom: 80px;
}

.memorial-funds h3,
.contributors h3 {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  font-weight: 800;
  color: #000000;
  text-align: center;
  margin-bottom: 50px;
}

#giving .grid,
.contributors .cards {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

#giving .card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
  padding: 40px;
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

#giving .card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #000000;
}

#giving .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.12);
}

#giving .flex,
#giving .flex-reverse {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

#giving .flex-reverse {
  flex-direction: row-reverse;
}

#giving img {
  width: auto;
  height: 320px;
  object-fit: cover;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
  flex-shrink: 0;
}

#giving .card:hover img {
/*  transform: scale(1.08);*/
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

#giving h4 {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  font-weight: 800;
  color: #000000;
  margin-bottom: 15px;
  line-height: 1.3;
}

#giving .highlight {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
  padding: 8px 20px;
  border-radius: 25px;
  display: inline-block;
  color: #000000;
  background: rgba(0, 0, 0, 0.1);
}

#giving p {
  font-size: 16px;
  color: #4a4a4a;
  line-height: 1.8;
}

.cta {
  text-align: center;
  background: linear-gradient(135deg, #000000 0%, #333333 100%);
  border-radius: 24px;
  padding: 60px 40px;
  color: white;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  animation: rotate 30s linear infinite;
}

.cta h3 {
  font-family: "Playfair Display", serif;
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 20px;
  position: relative;
}

.cta p {
  font-size: 18px;
  color: #e0e0e0;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta .grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: relative;
}

.cta .item {
  text-align: center;
}

.cta .number {
  font-family: "Playfair Display", serif;
  font-size: 42px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
  display: block;
}

.cta .item p {
  font-size: 16px;
  color: #cccccc;
  margin: 0;
}

@media (min-width: 768px) {
  #giving .grid,
  .contributors .cards {
    grid-template-columns: repeat(1, 1fr);
  }
  .cta .grid {
    flex-direction: row;
    justify-content: center;
    gap: 60px;
  }
}

/* Sophisticated Footer */
footer {
  background: linear-gradient(135deg, #000000 0%, #333333 100%);
  color: white;
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

footer h3 {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 15px;
  position: relative;
}

footer .subtitle {
  font-size: 20px;
  margin-bottom: 20px;
  color: #e0e0e0;
  position: relative;
}

footer p {
  font-size: 16px;
  color: #cccccc;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

/* Enhanced Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #000000;
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  background: #333333;
}

.back-to-top svg {
  width: 28px;
  height: 28px;
}

/* Responsive Design Enhancements */
@media (max-width: 767px) {
  .container {
    padding: 0 15px;
  }

  section {
    padding: 80px 0;
  }

  .header h2 {
    font-size: 2.5rem;
  }

  .article {
    flex-direction: column;
  }

  .article-content,
  .article-images {
    padding: 30px;
  }

  .hero {
    flex-direction: column;
  }

  .hero .content {
    padding: 30px;
  }

  .qa-item {
    padding: 20px;
  }

  .qa-item h4 {
    font-size: 18px;
  }

  #faculty .card .flex {
    flex-direction: column;
    text-align: center;
  }

  #faculty .card img {
    margin: 0 auto 15px;
  }

  #giving .flex,
  #giving .flex-reverse {
    flex-direction: column;
    text-align: center;
  }

  #giving img {
    margin: 0 auto 20px;
    width: 250px;
    height: 250px;
  }

  .back-to-top {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }

  .back-to-top svg {
    width: 24px;
    height: 24px;
  }

  /* Scale down testimonials on mobile to prevent overflow */
  #convocation .testimonials {
    transform: scale(1.1); /* Reduced from 1.3 for mobile */
  }
}

/* Print Styles */
@media print {
  nav,
  .back-to-top,
  .progress-bar-container {
    display: none;
  }

  section {
    page-break-inside: avoid;
    padding: 20px 0;
  }

  .article {
    page-break-inside: avoid;
    margin-bottom: 30px;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  body {
    background: white;
  }

  #convocation .testimonials {
    transform: scale(1); /* Reset scale for print */
  }
}