/* Balancesheet css */
.balance-sheet-section{
    background:#f8fafc;
}

.section-title{
    font-size:60px;
    font-weight:800;
    color:#003C71;
    letter-spacing:2px;
}

.title-line{
    width:120px;
    height:4px;
    background:#0d6efd;
    margin:15px auto;
    border-radius:20px;
}

.top-card{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    padding:18px;
    border-radius:14px;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.primary-card{
    background:#0d6efd;
    color:#fff;
}

.warning-card{
    background:#fff;
    border:2px solid #f4b400;
    color:#f4b400;
}

.success-card{
    background:#fff;
    border:2px solid #198754;
    color:#198754;
}

.top-card:hover{
    transform:translateY(-4px);
}

.document-card{
    /*background:#fff;
    color:#003C71;*/
    background:#0d47a1;
    color:#fff;
    border-radius:16px;
    padding:22px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    text-decoration:none;
    box-shadow:0 5px 20px rgba(0,0,0,.06);
    transition:.3s;
    min-height:95px;
}

.document-card:hover{
    transform:translateY(-6px);
    box-shadow:0 15px 35px rgba(0,60,113,.12);
}

.document-card.active{
    background:#0d47a1;
    color:#fff;
}

.doc-icon{
    width:50px;
    height:50px;
    border-radius:50%;
    background:#eef5ff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
}

.document-card.active .doc-icon{
    background:rgba(255,255,255,.15);
}

.info-box{
    background:#fff;
    border:1px solid #dbe4f0;
    border-radius:18px;
    padding:35px;
}

.info-icon{
    width:70px;
    height:70px;
    border-radius:50%;
    background:#eaf2ff;
    color:#0d47a1;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:32px;
    margin-right:20px;
}

.info-box h5{
    color:#003C71;
    font-weight:700;
}

.info-box p{
    margin:0;
    color:#6c757d;
}

.download-icon{
    font-size:70px;
    color:#0d6efd;
}

.cta-box{
    background:linear-gradient(135deg,#003C71,#0d47a1);
    border-radius:20px;
    padding:40px;
    color:#fff;
}

.cta-box h4{
    font-weight:700;
    margin-bottom:10px;
}

.cta-box p{
    margin-bottom:0;
    opacity:.9;
}

.cta-box .btn{
    padding:12px 30px;
    border-radius:50px;
}

@media(max-width:768px){

    .section-title{
        font-size:40px;
    }

    .document-card{
        min-height:auto;
    }

    .download-icon{
        margin-top:20px;
    }
}
/* Balancesheet css end */
.icon{
    font-size:50px;
    color:#1283ec; margin-top: 20px; 
}
/* ABOUT US AND NEWS SECTION  */
/*body {
    font-family: sans-serif; 
    background: #f8fafc;
    color: #232946;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}*/

.main-row {
    display: flex;
    align-items: cente;
    width: 100%; /* Use 100% instead of 100vw to prevent overflow */
    max-width: 100%;
    gap: 10px; /* Space between About Us and News */
    box-sizing: border-box;
    padding: 45px var(--site-padding-x) 0 var(--site-padding-x); /* Use site padding */
}

.about-section {
    flex: 0 0 58%;
    background: #bfe2f0;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(25, 118, 210, 0.08);
    padding: 24px 32px;
    border-left: 6px solid #1976d2;
    min-width: 240px;
    max-width: 1400px;
    margin:0px;
    margin-left: 55px;
    box-sizing: border-box;
    overflow: visible;
    height: auto;
    display:block;
}

.about-section h2 {
    font-size: 1.5rem;
    color: #cf2138; margin-top: 22px;
    margin-bottom: 2px;
    font-weight: 700;
    display: flex;
    align-items: LEFT;
    gap: 10px;
}
.degree {
    font-size: 1.2rem;
    color: #045992; 
    margin-bottom: 2px;
    font-weight: 400;
    display: flex;
    align-items: LEFT;
    gap: 10px;
}
.about-us{
  padding-left: 0; /* Remove specific padding, let main-row handle it */
}
.about-section h2::before {
    font-size: 1.3rem;
}

.about-intro {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 18px;
}

.intro-image img {
    border-radius: 8px;
    width: 430px;
    height: 270px; vertical-align: middle;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.10);
    border: 2px solid #e3eafc;
}
.president-image img {
    border-radius: 8px;
    width: 300px;
    height: 300px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.10);
    border: 2px solid #e3eafc;
}

.intro-text {
    flex: 1;
    font-size: 1.05rem;
    color: #374151;
}

.about-section p {
    line-height: 1.6;
    margin-bottom: 12px;
    font-size: 1.01rem;
    text-align: justify;
}

.signature {
    margin-top: 18px;
    font-style: italic;
    color: #1976d2;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-top: 1px dashed #e3eafc;
    padding-top: 8px;
}

/* NEWS SECTION */
.news-section {
    flex: 0 0 34%;
    background: #f7faff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 18px 10px;
    border-right: 6px solid #1976d2;
    min-width: 360px;
    max-width: 850px;
    box-sizing: border-box;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    /* height: fit-content; is fine for the outer section */
}

.news-section h2 {
    font-size: 1.15rem;
    color: #000000;
    background: #bfe2f0;
    border-radius: 10px 10px 0 0;
    border-bottom: 2px solid #b4c9e7;
    font-weight: 600;
    padding: 8px 12px 6px 10px;
    margin: -18px -10px 12px -10px;
    letter-spacing: 1px;
    width: calc(100% + 20px);
}

.news-marquee {
    flex: 1; /* Allows it to take up available vertical space */
    overflow: hidden; /* ABSOLUTELY ESSENTIAL: Hides content outside the fixed height */
    position: relative; /* ABSOLUTELY ESSENTIAL: Establishes positioning context for absolute track */
    height: 200px; /* Desktop fixed height */
    cursor: pointer;
    /* Add a min-height just in case flex:1 causes issues in certain contexts */
    min-height: 100px; /* Ensures it's never too small even if flex glitches */
}

.news-marquee-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    will-change: transform;
}

.news-item {
    display: flex;
    align-items: flex-start; /* Align content to the top */
    gap: 10px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(25, 118, 210, 0.03);
    margin-bottom: 10px;
    padding: 8px 10px;
    border: 1px solid #e3eafc;
    /* min-height should be adjusted on mobile, or removed if flexible height is needed */
    /* min-height: 60px; Keep this for desktop for consistency */
}

.news-item img {
    width: 30%;
    height: 30%;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #dbeafe;
    flex-shrink: 0; /* Prevents image from shrinking below its width/height */
}

.news-text {
    color: #031527;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.3;
    /* Ensure text doesn't cause overflow */
    word-wrap: break-word; /* Allows long words to break */
    overflow-wrap: break-word; /* Modern version of word-wrap */
}

.news-date {
    font-size: 0.89rem;
    color: #607d8b;
    margin-top: 3px;
    font-style: italic;
    display: block;
}

.view-all-link {
    display: inline-block;
    margin-top: 10px; /* Adds space between marquee and link */
    color: #1976d2;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

.view-all-link:hover {
    color: #0d47a1;
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 500px) {
    .news-section {
        min-width: 90vw;
        max-width: 98vw;
        padding: 12px 3vw;
    }
    .news-marquee {
        /* CRITICAL: Increase this height significantly to ensure items are visible */
        height: 150px; /* Increased from 180px - try this or even higher */
        /* You might need to experiment with this value. */
        /* If a single news item is 100px tall, this ensures at least 2.5 items are available for display */
    }
    .news-item {
        padding: 6px 8px;
        margin-bottom: 8px;
        min-height: unset; /* Allow items to reduce height if content is smaller */
        align-items: center; /* Center vertically if image/text heights are very different */
    }
    .news-item img {
        width: 50px; /* Further reduced image size */
        height: 55px; /* Further reduced image size */
    }
    .news-text {
        font-size: 0.8rem; /* Even smaller font */
        line-height: 1.2;
    }
    .news-date {
        font-size: 0.75rem; /* Even smaller font */
    }
}


/* Responsive: stack columns on small screens */
@media (max-width: 900px) {
    .main-row {
        flex-direction: column;
        gap: 16px;
        padding: 16px var(--site-padding-x) 0 var(--site-padding-x); /* Apply site padding */
        max-width: 100%; /* Ensure it doesn't overflow */
    }
    .about-section, .news-section {
        flex: unset;
        width: 100%; /* Take full width minus padding */
        max-width: 100%;
        min-width: unset;
        margin: 0 auto 10px auto;
        padding: 15px 20px; /* Adjust internal padding for smaller screens */
    }

    .about-intro {
      flex-direction: column; /* Stack image and text in about section */
      align-items: center;
      text-align: center;
    }
    .intro-image {
      margin-bottom: 10px; align-items: center;
    }
    .intro-image img {
      width: 150px; /* Smaller image 120 */
      height: 150px; align-items: center;
    }
    .president-image {
      margin-bottom: 10px;  align-items: center !important;
    }
    .president-image img {
      width: 150px; /* Smaller image 120 */
      height: 150px; align-items: center !important;
    }

    .about-section h2 {
      font-size: 1.7rem; /* Adjust heading size */
      justify-content: left; /* Center heading */
      margin-bottom: 5px;
    }
    .degree { font-size: 1.2rem; /* Adjust heading size */
      justify-content: left; /* Center heading */
      margin-bottom: 5px; }
    .about-section p {
      font-size: 0.95rem; /* Smaller paragraph text */
    }

    .news-section h2 {
        font-size: 1.05rem; /* Smaller news heading */
        padding: 8px 10px;
        margin: -15px -10px 10px -10px; /* Adjust margin to fit new padding */
    }

    .news-marquee {
        height: 250px; /* Increase height for more visible news items */
    }
    .news-item {
      flex-direction: row; /* Keep news items side by side for better readability */
      align-items: flex-start;
      padding: 6px 8px;
    }
    .news-item img {
      width: 60px; /* Smaller news image */
      height: 70px;
    }
    .news-text {
      font-size: 0.9rem;
    }
    .news-date {
      font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
  .about-section h2 {
    font-size: 1.5rem; margin-bottom: 2px; text-align: left;
  }
  .degree { font-size: 1rem; margin-bottom: 2px; text-align: left;}
  .about-section p {
    font-size: 0.9rem;    
  }
  .news-section h2 {
    font-size: 0.95rem;
  }
}