* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  html, body {
    font-family: sans-serif;
    background: #f7f8fa;
    color: #222;
    min-height: 100vh;
  }
  
  .scholarships-container {
    width: 90%;
    max-width: 1350px;
    margin: 0 auto;
    padding-bottom:2rem;

  }
  
  .scholarships-header {
    background: rgba(226, 229, 233, 1);
    padding: 2.5rem 0 2rem 0;
    text-align: center;
    margin: 0 0 2rem 0;
    border-radius: 0.5rem;
  }
  
  .scholarships-title {
    font-size: 2.6rem;
    color: #000000;
    font-weight: 600;
    letter-spacing: 1px;
  }
  .scholarships-title::after {
    content: '';
    display: block;
    width: 90px;
    height: 4px;
    background-color:#e2b347;
    margin: 2px auto 0;
    border-radius: 4px;
  }
  .scholarships-sub {
    color: #002147;
    font-size: 1.1rem;
    margin-top: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
  }
  
  /* Brief & Quick Links Side by Side */
  .scholarships-content {
    width: 100%;
  }
  .scholarships-brief {
    display: flex;
    gap: 2rem;
    background: #fff;
    border-left: 6px solid #1976d2;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  }
  
  .scholarships-text-container {
    flex: 2;
  }
  .scholarships-text-container p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 1rem;
  }
  
  .scholarships-quicklinks {
    flex: 1;
    min-width: 240px;
    background: #f9fafc;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  }
  .scholarships-quicklinks h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #002147;
    font-weight: 600;
    border-bottom: 1px solid #1976d2;
    padding-bottom: 0.3rem;
  }
  .scholarships-quicklinks ul {
    list-style:inside ;
  }
  .scholarships-quicklinks ul li {
    padding: 0.25rem 1rem;
    margin-bottom: 0.3rem;
    border-radius: 6px;
    background: #fff;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
  }
  .scholarships-quicklinks ul li:hover {
    color: rgb(47, 95, 255);
    transform: translateX(4px);
    text-decoration: underline;
  }
  .scholarships-quicklinks ul li:hover a {
    color: #047fc7;
  }
  .scholarships-quicklinks ul a {
    color: #222;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s;
  }
  
  /* Student Cards – Landscape Rectangular, Square Images */
  .scholarships-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
  }
  
  .scholarships-card {
    background: linear-gradient(145deg, #ffffff, #f9fafc);
    border: #000000 1px solid;
    border-radius: 18px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease, background 0.35s ease;
    min-width: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    min-height: 180px;
  }
  
  .scholarships-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
    background: linear-gradient(145deg, #ffffff, #e8f0fe);
  }
  
  .scholarships-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(25, 118, 210, 0.1), transparent);
    transition: left 0.4s ease;
  }
  
  .scholarships-card:hover::before {
    left: 0;
  }
  
  .scholarships-card-content {
    display: flex;
    width: 100%;
    gap: 1.5rem;
  }
  
  .scholarships-img-box {
    flex: 0 0 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .scholarships-img-box img {
    width: 160px;
    height: 160px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid #002bbada;
    opacity: 1;
    transform: scale(0.98);
    transition: opacity 0.6s ease, transform 0.4s ease;
  }
  
  .scholarships-img-box img.loaded {
    opacity: 1;
    transform: scale(1);
  }
  
  .scholarships-img-caption {
    font-size: 1.2rem;
    color: #002147;
    font-weight: 600;
    text-align: center;
    margin-top: 0.5rem;
    width: 100%;
  }
  
  .scholarships-card-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .scholarships-card h3 {
    font-size: 1.3rem;
    color: #002147;
    font-weight: 700;
    margin-bottom: 0.4rem;
  }
  
  .scholarships-card-meta {
    font-size: .85rem;
    color: #4fa4ee;
    margin-bottom: 1rem;
    margin-top: 0.3rem;
    font-style: italic;
    font-weight: 300;
  }
  
  .scholarships-card p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 0.8rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  
  @media (max-width: 900px) {
    .scholarships-grid {
      grid-template-columns: 1fr;
    }
    .scholarships-brief {
      flex-direction: column;
    }
    .scholarships-quicklinks {
      min-width: auto;
      width: 100%;
    }
    .scholarships-card-content {
      flex-direction: column;
    }
    .scholarships-img-box {
      flex: 0 0 auto;
      width: 100%;
      max-width: 160px;
      margin: 0 auto;
    }
    .scholarships-img-box img {
      width: 160px;
      height: 160px;
    }
  }
  
  @media (max-width: 600px) {
    .scholarships-card {
      min-height: auto;
    }
    .scholarships-text-container p {
      font-size: 1rem;
    }
  }