/* =========================
   MODERN HERO GALLERY UI
   ========================= */

:root{
    --primary: #2563eb;
    --primary-light: #3b82f6;
    --dark: #0f172a;
    --dark-soft: #1e293b;
    --text: #ffffff;
    --muted: rgba(255,255,255,0.75);
    --glass: rgba(255,255,255,0.08);
    --border: rgba(255,255,255,0.12);
    --shadow: 0 15px 45px rgba(0,0,0,0.35);
    --radius: 24px;
    --transition: all .35s ease;
}

/* =========================
   HERO CONTAINER
   ========================= */

.programmes-grid {
    display: grid;
    gap: 1rem; /* gap-3 */
    margin-top: 1.5rem; /* mt-6 */
}

@media (min-width: 640px) {
    .programmes-grid {
        grid-template-columns: repeat(3, 1fr); /* sm:grid-cols-3 */
    }
}
#background-slider {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* ensures it's behind other content */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1; /* reduced opacity */
    transition: background-image 1s ease-in-out; /* smooth fade */
}

.programme-card {
    background: rgba(255, 255, 255, 0.1); /* bg-white/10 */
    padding: 1rem; /* p-4 */
    border-radius: 1rem; /* rounded-2xl */
    color: rgba(255, 255, 255, 0.9); /* text-white/90 */
    border: 1px solid rgba(255, 255, 255, 0.15); /* ring-1 ring-white/15 */
    transition: transform 0.2s, box-shadow 0.2s;
}

.programme-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.programme-card p {
    margin: 0.25rem 0;
}

.programme-card .small {
    font-size: 0.875rem; /* text-sm */
    opacity: 0.9;
}

.programme-card .medium {
    font-size: 1.125rem; /* text-lg */
    font-weight: 600; /* font-semibold */
}

.programme-card .bold {
    font-size: 1.125rem; /* text-lg */
    font-weight: 800; /* font-extrabold */
    letter-spacing: 0.05em; /* tracking-wide */
}


.intro-section {
    background: #fff;
    padding: 40px 0;
}

.intro-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

.intro-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

@media (min-width: 1024px) {
    .intro-grid {
        flex-direction: row;
    }
}

.intro-col {
    flex: 1;
}

/* Headings */
.intro-heading {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 8px;
    border-bottom: 2px solid #3b82f6;
    display: inline-block;
    color: var(--amucta-blue);
}

/* Remarks */
.remarks {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

@media (min-width: 640px) {
    .remarks {
        flex-direction: row;
    }
}

.remarks-img {
    width: 128px;
    height: auto; /* Maintain aspect ratio */
    object-fit: cover; /* Optional: controls how the image fits within its box */
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    flex-shrink: 0; /* Prevent image from shrinking */
}

.remarks-text {
    color: #374151;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Events */
.events-list {
    margin-top: 16px;
    list-style: none;
    padding: 0;
}

.event-item {
    margin-bottom: 16px;
}

.event-flex {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.event-img {
    width: 40px;
}

.event-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: #1f2937;
    display: block;
    transition: color 0.2s;
}

.event-title:hover {
    color: #2563eb;
}

.event-meta {
    font-size: 0.75rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.event-new {
    width: 24px;
    height: auto;
}

.event-divider {
    margin-top: 8px;
    border: 0;
    border-bottom: 1px solid #e5e7eb;
}

/* Shortcut Links */
.shortcuts {
    margin-top: 16px;
    list-style: none;
    padding: 0;
}

.shortcut-link {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.9rem;
    color: #1f2937;
    margin-bottom: 8px;
    transition: color 0.2s;
}

.shortcut-link i {
    color: #2563eb;
    margin-top: 2px;
}

.shortcut-link:hover {
    color: #2563eb;
}

/* Links */
.link-primary {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.link-primary:hover {
    text-decoration: underline;
}

.news-section {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    background: #f7fafc;
}
.news-secion-item{ width: 100%;padding: 0 16px;}
@media (min-width: 768px) {
    .news-section{
        align-items: start;
        flex-direction: row;
    }
    .news-secion-item{width: 48%;}
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    border-bottom: 2px solid var(--amucta-blue);
    padding-bottom: 8px;
    margin-bottom: 16px;
    color: var(--amucta-blue);
}

/* Attachments */
.attachments-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.attachment-item {
    margin-bottom: 16px;
}

.attachment-title {
    font-weight: 500;
    color: var(--amucta-blue);
    cursor: pointer;
    transition: color 0.2s;
}

.attachment-title:hover {
    text-decoration: underline;
}

.attachment-meta {
    font-size: 0.875rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 8px;
}

.download-link {
    color: #ca8a04;
    font-weight: 500;
}

/* News */
.news-item {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.news-img {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 8px;
}

.news-content {
    flex: 1;
}

.news-title {
    font-weight: bold;
    color: var(--amucta-blue);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-title:hover {
    text-decoration: underline;
}

.new-icon {
    width: 24px;
    height: 24px;
}

.news-desc {
    font-size: 0.875rem;
    color: #4b5563;
}

.read-more {
    color: var(--amucta-blue);
    font-weight: 500;
}

.news-date {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 4px;
}

/* Buttons/Links */
.view-more,
.read-more-btn {
    display: inline-block;
    margin-top: 12px;
    color: var(--amucta-blue);
    font-weight: 600;
    text-decoration: none;
}

.view-more:hover,
.read-more-btn:hover {
    text-decoration: underline;
}

.read-more-container {
    text-align: center;
    margin-top: 24px;
}

.section {
    padding: 2rem 1rem;
}
.or-title{
    max-width: 600px;
    background-color: rgba(12, 12, 12, 0.5);
    border-radius: 10px;
}

/* University Title */
.uni-title {
    font-size: 2rem;
    font-weight: bold;
    color: var(--amucta-blue);
    margin-bottom: 1rem;
    text-align: center;
}

/* Apply Now Button */
.apply-btn {
    display: inline-block;
    background: var(--amucta-blue);
    color: #fff;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: all 0.3s ease-in-out;
    animation: pulse 1.5s infinite;
}
.apply-btn:hover {
    background: #0099cc;
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0,191,255,0.4);
}

/* Pulse effect */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Highlight card */
.highlight-box {
    border-radius: 18px;
    padding: 1rem;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    margin-top: 1rem;
    text-align: start;
}
/* Search section */

.search-form{
    width:100%;
    display:flex;
    height:40px;
    margin-top: 16px;
    min-width:0;
}

.search-form select{
    width:100%;
    min-width:0;
    max-width:100%;
    box-sizing:border-box;
    border:1px solid #ccc;
    border-right:none;
    padding:0 10px;
    font-size:14px;
    outline:none;
    border-radius:4px 0 0 4px;
}


.search-form button {
    background: #2f6df6;
    color: #fff;
    padding: 0 10px;
    border: 1px solid #2f6df6;
    font-size: 14px;
    cursor: pointer;
    border-radius: 0 4px 4px 0;
}

.search-form button:hover {
    background: #2459c9;
}


/* hero */
.heroo{
    display:grid;
    gap:16px;

}

/* Small screens, phones */
@media (max-width:767px){
    .heroo{
        grid-template-columns:1fr;
        height: auto;
    }
}

/* Large screens, desktops */
@media (min-width:768px){
    .heroo{
        margin-top: 30px;
        grid-template-columns:2fr 1fr;
        
    }
    .mainSwiper1{
        height: 400px;
    }
}

.hero-box{
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* =========================
   SWIPER CONTAINER
   ========================= */

.mainSwiper{
    width: 100%;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

/* =========================
   SLIDES
   ========================= */

.swiper-slide{
    position: relative;
    overflow: hidden;
    border-radius: 18px;
}

.swiper-slide img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.2s ease;
    filter: brightness(0.82);
}

/* Zoom effect */
.swiper-slide-active img{
    transform: scale(1.06);
}

/* Dark overlay */
.swiper-slide::after{
    content: "";
    position: absolute;
    inset: 0;
    background:
            linear-gradient(
                    to top,
                    rgba(0,0,0,0.72) 5%,
                    rgba(0,0,0,0.25) 45%,
                    rgba(0,0,0,0.05) 100%
            );
    z-index: 1;
}

/* =========================
   CAPTION
   ========================= */

.slide-caption{
    position: absolute;
    left: 40px;
    bottom: 45px;
    z-index: 10;
    max-width: 70%;
    animation: fadeUp .6s ease;
}

.slide-caption span{
    display: inline-block;
    color: var(--text);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    padding: 7px 12px;
    border-radius: 16px;
    background: rgba(15,23,42,0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    box-shadow: 0 8px 25px rgba(0,0,0,0.35);
}

/* =========================
   VIEW ALL BUTTON
   ========================= */

.view-gallery-btn{
    position: absolute;
    top: 28px;
    right: 28px;
    z-index: 20;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    padding: 12px 24px;
    border-radius: 999px;
    background: linear-gradient(
            135deg,
            var(--primary),
            var(--primary-light)
    );
    box-shadow: 0 8px 24px rgba(37,99,235,0.35);
    transition: var(--transition);
}

.view-gallery-btn:hover{
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 30px rgba(37,99,235,0.45);
}

/* =========================
   NAVIGATION BUTTONS
   ========================= */

.swiper-button-prev,
.swiper-button-next{
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.18);
    transition: var(--transition);
    color: #fff;
}

.swiper-button-prev:hover,
.swiper-button-next:hover{
    background: var(--primary);
    transform: scale(1.08);
}

.swiper-button-prev::after,
.swiper-button-next::after{
    font-size: 18px;
    font-weight: bold;
}

/* =========================
   PAGINATION
   ========================= */

.swiper-pagination{
    bottom: 18px !important;
}

.swiper-pagination-bullet{
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.45);
    opacity: 1;
    transition: var(--transition);
}

.swiper-pagination-bullet-active{
    width: 34px;
    border-radius: 20px;
    background: var(--primary-light);
}

/* =========================
   ANIMATIONS
   ========================= */

@keyframes fadeUp{
    from{
        opacity: 0;
        transform: translateY(20px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   RESPONSIVE DESIGN
   ========================= */
@media(max-height: 1200px){
    .mainSwiper{
        height: 400px;
    }
}

@media(max-width: 1200px){
    .mainSwiper{
        height: 520px;
    }

    .slide-caption span{
        font-size: 1.7rem;
    }
}

@media(max-width: 992px){
    .mainSwiper{
        height: 450px;
    }

    .slide-caption{
        left: 25px;
        bottom: 30px;
        max-width: 85%;
    }

    .slide-caption span{
        font-size: 1.4rem;
        padding: 12px 20px;
    }

    .swiper-button-prev,
    .swiper-button-next{
        width: 48px;
        height: 48px;
    }
}

@media(max-width: 768px){

    .hero-box{
        padding: 10px;
        border-radius: 18px;
    }

    .mainSwiper{
        height: 350px;
        border-radius: 16px;
    }

    .slide-caption{
        left: 18px;
        right: 18px;
        bottom: 20px;
        max-width: 100%;
    }

    .slide-caption span{
        width: 100%;
        font-size: 1rem;
        padding: 10px 15px;
        line-height: 1.5;
    }

    .view-gallery-btn{
        top: 16px;
        right: 16px;
        font-size: 13px;
        padding: 10px 18px;
    }

    .swiper-button-prev,
    .swiper-button-next{
        display: none;
    }
}

@media(max-width: 480px){

    .mainSwiper{
        height: 280px;
    }

    .slide-caption span{
        font-size: .92rem;
    }

    .swiper-pagination-bullet{
        width: 10px;
        height: 10px;
    }

    .swiper-pagination-bullet-active{
        width: 26px;
    }
}


/*  hee others*/
.recent-publications {
    padding: 40px 20px;
    background: #f9fafb;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
}

/* List container */
.publication-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Each item becomes a row */
.publication-item {
    display: flex;
    gap: 15px;
    background: white;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s ease;
}

.publication-item:hover {
    transform: translateY(-3px);
}

/* Small left image */
.publication-item img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

/* Info block */
.publication-info {
    flex: 1;
}

/* Title */
.pub-title {
    margin: 0 0 6px;
    color: var(--amucta-blue);
}

/* Authors */
.pub-authors {
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
}

/* Year badge */
.pub-year {
    display: inline-block;
    background: var(--amucta-teal-blue);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
}