/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
    
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

















/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
.research-area {
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    position: relative;
}

.research-area::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.92);
}

.research-area .container {
    position: relative;
    z-index: 2;
}

.research-area h2.title-default-textPrimary-left {
    font-size: 32px;
    font-weight: 700;
    color: #0d47a1;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.research-area .section-subtitle {
    color: #555;
    font-size: 16px;
    margin-bottom: 40px;
}

.research-box {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 30px 25px;
    text-align: justify;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.research-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(13, 71, 161, 0.2);
}

.research-icon {
    font-size: 48px;
    color: #0d47a1;
    margin-bottom: 15px;
}

.research-box h3 a {
    color: #111;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.research-box h3 a:hover {
    color: #0d47a1;
}

.research-box p {
    font-size: 15px;
    color: #666;
    margin-top: 10px;
}

.view-all-btn-area {
    text-align: center;
    margin-top: 50px;
}

.ghost-btn-big {
    display: inline-block;
    padding: 12px 35px;
    border: 2px solid #0d47a1;
    border-radius: 30px;
    color: #0d47a1;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.ghost-btn-big:hover {
    background-color: #0d47a1;
    color: #fff;
}
.service-box2 {
    background: #fff;
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.service-box2:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

.service-box-icon {
    font-size: 40px;
    color: #007bff;
    margin-bottom: 15px;
}

.service-box2 h3 {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
}

.service-box2 p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}
td ol {
  margin-left: 1rem;
  padding-left: 1.25rem;
}
td ol li {
  margin-bottom: 5px;
  line-height: 1.5;
}
td strong {
  color: #000;
  font-weight: 600;
}
.courses-page-top-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

/* ====== Card Style ====== */
.theme-card {
    background: linear-gradient(135deg, #f3f7ff);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.theme-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}
.theme-card .card-title {
    font-size: 18px;
    font-weight: 700;
    color: #004aad;
    margin-bottom: 10px;
}
.theme-card .card-meta p {
    margin: 0;
    font-size: 15px;
    color: #333;
}
.theme-card .divider {
    height: 1px;
    background: #e0e0e0;
    margin: 15px 0;
}
.theme-card .footer {
    font-size: 13px;
    color: #666;
}

/* Grid Equal Height */
.row-eq-height > [class*='col-'] {
    display: flex;
}

/* Tab Icons */
.nav .menu-link {
    color: #004aad;
    font-size: 18px;
    margin-right: 10px;
}
.nav .menu-link.active {
    color: #fff;
    background-color: #004aad;
    border-radius: 5px;
    padding: 5px 10px;
}

/* List View */
.list-box {
    background: #f3f7ff;
    border-left: 5px solid #004aad;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 20px;
    margin-bottom: 20px;
}
.list-box h4 {
    font-weight: 700;
    color: #004aad;
}
.list-box ol {
    padding-left: 25px;
}
.list-box p {
    font-size: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .theme-card { height: auto; }
    .courses-page-top-area { flex-direction: column; align-items: flex-start; }
}

/* A & B Info Box Styles */
.info-box {
    background: #ffffff;
    border: 1px solid #e1e1e1;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 30px;
    transition: all 0.3s ease;
}
.info-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 18px rgba(0,0,0,0.1);
}
.info-header h4 {
    color: #007bff;
    border-left: 4px solid #007bff;
    padding-left: 10px;
}
.info-body p {
    color: #333;
    line-height: 1.7;
    text-align: justify;
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .info-box {
        padding: 20px;
    }
}
  .awards-section {
            padding: 60px 0;
            background: #f9fafc;
        }

        .awards-section h2 {
            font-weight: 700;
            color: #0d47a1;
            text-align: center;
            margin-bottom: 40px;
            text-transform: uppercase;
        }

        .awards-table {
            background: #fff;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
            font-size: 16px;
        }

        table thead {
            background: #0d47a1;
            color: #fff;
            font-size: 18px;
        }

        /* table th, table td {
            vertical-align: middle;
            text-align: center;
        } */

        table tbody tr:nth-child(even) {
            background-color: #f2f6fc;
        }

        @media (max-width: 767px) {
            table {
                font-size: 14px;
            }
        }

        .custom-list {
    margin-top: 10px;
    list-style: "🏆  ";
    padding-left: 20px;
}
.custom-list li {
    margin-bottom: 8px;
    font-size: 1.05rem;
    color: #333;
}
.custom-list strong {
    color: #0d47a1;
}
.gallery-area2 {
    padding: 60px 0;
}
.gallery-box {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}
.gallery-box:hover {
    transform: scale(1.05);
}
.gallery-box img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
}
.gallery-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}
.gallery-box:hover .gallery-content {
    opacity: 1;
}
.gallery-content a i {
    color: #fff;
    font-size: 24px;
    background: rgba(255,255,255,0.2);
    padding: 10px 12px;
    border-radius: 50%;
}
.isotop-btn a {
    text-decoration: none;
    color: #333;
    margin: 0 10px;
    font-weight: 500;
}
.isotop-btn a.current {
    color: #007bff;
    border-bottom: 2px solid #007bff;
}
.gallery-description {
    text-align: center;
    margin-top: 10px;
    font-size: 15px;
    color: #555;
}

.section-title {
    text-align: center;
    font-weight: 700;
    color: #003366;
    margin: 40px 0 20px;
}
.accordion-button {
    background-color: #e8f0fe;
    font-weight: 600;
    color: #0d47a1;
}
.accordion-button:not(.collapsed) {
    background-color: #bbdefb;
    color: #0d47a1;
}
.accordion-body {
    background-color: #fff;
    border-left: 3px solid #0d47a1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    text-align: justify;
}
.keywords {
    font-style: italic;
    color: #555;
    margin-top: 10px;
}
.section-title {
    text-align: center;
    margin: 40px 0 30px;
    font-weight: 700;
    color: #0d6efd;
}

.book-card {
    border: none;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s ease-in-out;
    height: 100%;
}
.book-card:hover {
    transform: translateY(-5px);
}

.book-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.book-details {
    padding: 15px;
    text-align: center;
}

.book-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 8px;
}

.book-author {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 4px;
}

.book-class {
    font-size: 0.9rem;
    color: #6c757d;
}
#pdfViewer iframe {
    width: 100%;
    max-height: 600px;
    border-radius: 8px;
}
