/* ============================================
   OPTIMIZED CORE STYLES
   ============================================ */
:root {
    --primary-blue: #101a37;
    --primary-green: #ff9800;
    --secondary-blue: #160c0c;
    --secondary-color: #003d5c;
    --dark-black: #000000;
    --light-white: #ffffff;
    --light-gray: #f3f4f6;
    --light-bg: #f7f7f7;
    --accent-orange: #f97316;
    --accent-color: #ff6b35;
    --gradient-primary: linear-gradient(135deg, #1e3a8a, #3b82f6);
    --gradient-green: linear-gradient(135deg, #059669, #10b981);
    --shadow-sm: 0 3px 15px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 5px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
    --transition-sm: all 0.2s ease;
    --default-font-family: "Plus Jakarta Sans", sans-serif;
}



/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--default-font-family);
}

body {
    margin: 0;
    font-family: var(--default-font-family);
    overflow-x: hidden;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #000;
    background-color: #fff;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    transition: var(--transition);
    color: #000000;
    font-family: var(--default-font-family);
}


td,
tr,
th {
    font-family: var(--default-font-family) !important;
}

.bgcolor-default {
    background-color: var(--light-bg);
}

.bgcolor-primary {
    background-color: var(--light-white);
}

.bgcolor-secondary {
    background-color: var(--secondary-blue);
}



.header {
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background: white;
    padding: 12px 5%;
    border-bottom: 1px solid #e0e0e0;
    display: none;
}

.top-bar nav {
    display: flex;
    justify-content: flex-end;
    gap: 30px;
    flex-wrap: wrap;
}

.top-bar a {
    color: #555;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.top-bar a:hover {
    color: #003d82;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
    width: 60px;
    height: 60px;
    border: 2px solid #003d82;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
}

.logo-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav-menu {
    display: none;
    gap: 20px;
    align-items: center;
}

.nav-menu a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    padding: 5px 0;
}

.nav-menu a:hover {
    color: #003d82;
}

/*.nav-menu a.has-dropdown::after {*/
/*    content: '▼';*/
/*    font-size: 10px;*/
/*    margin-left: 5px;*/
/*}*/

.nav-item {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 30px;
    z-index: 100;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    display: block;
    padding: 12px 20px;
    color: #2c3e50;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.dropdown a:last-child {
    border-bottom: none;
}

.dropdown a:hover {
    background: var(--primary-blue);
    color: var(--light-white);
    transition: var(--transition);
}

.dropdown-item {
    position: relative;
}

.dropdown-item>a.has-child::after {
    content: '▶';
    font-size: 10px;
    float: right;
    margin-left: 10px;
}

.child-dropdown {
    position: absolute;
    left: 100%;
    top: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    z-index: 101;
}

.dropdown-item:hover .child-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.child-dropdown a {
    padding: 10px 18px;
    font-size: 13px;
    text-transform: capitalize;
}


/* Child dropdown styles */
.child-dropdown {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-width: 250px;
}

.dropdown-item:hover .child-dropdown {
    display: block;
}

.child-dropdown a {
    display: block;
    padding: 8px 15px;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
    
}

.child-dropdown a:hover {
    background: var(--primary-blue);
    color: var(--light-white);
    transition: var(--transition);
}

/* Nested dropdown (3rd level) - LEFT SIDE */
.nested-item {
    position: relative;
}

.nested-item>a.has-nested {
    display: block;
    padding: 8px 15px;
    color: #333;
    text-decoration: none;
    position: relative;
}

.nested-item>a.has-nested::after {
    content: "‹";
    position: absolute;
    left: 10px;
    font-size: 18px;
}

.nested-item>a.has-nested {
    padding-left: 25px;
}

.nested-item>a.has-nested:hover {
    background: var(--primary-blue);
    color: var(--light-white);
    transition: var(--transition);
}

.nested-dropdown {
    display: none;
    position: absolute;
    right: 100%;
    top: 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-width: 280px;
}

.nested-item:hover .nested-dropdown {
    display: block;
}

.nested-dropdown a {
    display: block;
    padding: 8px 15px;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
}

.nested-dropdown a:hover {
    background-color: var(--primary-blue);
    color: var(--light-white);
}


/* Child Nested dropdown (4rd level) - LEFT SIDE */
.child-nested-item {
    position: relative;
}

.child-nested-item>a.has-child-nested {
    display: block;
    padding: 8px 15px;
    color: #333;
    text-decoration: none;
    position: relative;
}

.child-nested-item>a.has-child-nested::after {
    content: "‹";
    position: absolute;
    left: 10px;
    font-size: 18px;
}

.child-nested-item>a.has-child-nested {
    padding-left: 25px;
}

.child-nested-item>a.has-child-nested:hover {
    background: var(--primary-blue);
    color: var(--light-white);
    transition: var(--transition);
}

.child-nested-dropdown {
    display: none;
    position: absolute;
    right: 100%;
    top: 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-width: 280px;
}

.child-nested-item:hover .child-nested-dropdown {
    display: block;
}

.child-nested-dropdown a {
    display: block;
    padding: 8px 15px;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
}

.child-nested-dropdown a:hover {
    background-color: var(--primary-blue);
    color: var(--light-white);
}


/* //Phase IV */

.has-child+.child-dropdown {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    min-width: 400px;
    /* আপনার প্রয়োজন অনুযায়ী adjust করুন */
}

/* শুধুমাত্র Phase IV এর জন্য যদি চান */
.dropdown-item:nth-child(4) .child-dropdown {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    min-width: 400px;
}



.mobile-menu-item:last-child {
    border-bottom: 1px solid #8B4513 !important;
}

.phase-dropdown-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    min-width: 400px;
    /* Adjust as needed */
}

/* Right aligned dropdown (last menus) */
.nav-item.right-dropdown .dropdown {
    left: auto;
    right: 0;
}

.nav-item.right-dropdown .child-dropdown {
    left: auto;
    right: 100%;
}



.search-icon {
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: none;
}

.search-icon svg {
    width: 24px;
    height: 24px;
    stroke: #2c3e50;
    stroke-width: 2;
    fill: none;
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    transition: all 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu {
    display: none;
    background: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-menu.active {
    display: block;
    max-height: 100vh;
    overflow-y: auto;
}

.mobile-menu-item {
    border-bottom: 1px solid #e0e0e0;
}

.mobile-menu-item a,
.mobile-menu-item>button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 5%;
    color: #2c3e50;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.mobile-menu-item a:active,
.mobile-menu-item>button:active {
    background: #f5f5f5;
}

.chevron {
    transition: transform 0.3s;
    font-size: 12px;
}

.chevron.rotated {
    transform: rotate(180deg);
}

.submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #f9f9f9;
}

.submenu.active {
    max-height: 2000px;
}

.submenu>a {
    display: block;
    padding: 15px 5% 15px 10%;
    font-size: 15px;
    font-weight: 400;
    border-bottom: 1px solid #e8e8e8;
    color: #555;
}

.mobile-submenu-item {
    position: relative;
}

.mobile-submenu-item>button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 5% 12px 10%;
    color: #555;
    font-size: 14px;
    background: #f9f9f9;
    border: none;
    border-bottom: 1px solid #e8e8e8;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.mobile-submenu-item>button .chevron {
    font-size: 10px;
}

.child-submenu-mobile {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #f0f0f0;
}

.child-submenu-mobile.active {
    max-height: 1500px;
}

.child-submenu-mobile a {
    display: block;
    padding: 12px 5% 12px 15%;
    font-size: 13px;
    color: #555;
    background: #f0f0f0;
    border-bottom: 1px solid #e0e0e0;
}

.child-submenu-mobile a,
.child-submenu-mobile button {
    padding-left: 18%;
}

/* Level 3 */
.child-submenu-mobile .child-submenu-mobile {
    background: #e8e8e8;
}

.child-submenu-mobile .child-submenu-mobile a,
.child-submenu-mobile .child-submenu-mobile button {
    padding-left: 22%;
}

/* Level 4 (PCC phases) */
.child-submenu-mobile
.child-submenu-mobile
.child-submenu-mobile {
    background: #e0e0e0;
}

.child-submenu-mobile
.child-submenu-mobile
.child-submenu-mobile a {
    padding-left: 26%;
    font-size: 12.5px;
}

.mobile-submenu-item button,
.child-submenu-mobile button {
    
    border: none;
    width: 100%;
    text-align: left;
    font-weight: 500;

    display: block;
    padding-left: 18%;
    font-size: 13px;
    color: #555;
    background: #f0f0f0;
    border-bottom: 1px solid #e0e0e0;
}


.child-submenu-mobile {
    border-left: 3px solid #ddd;
}
.child-submenu-mobile .child-submenu-mobile {
    border-left: 3px solid #ccc;
}


@media (min-width: 768px) {
    .top-bar {
        display: block;
    }

    .nav-menu {
        display: flex;
    }

    .search-icon {
        display: block;
    }

    .mobile-menu-btn {
        display: none;
    }

    .mobile-menu {
        display: none !important;
    }
}


/* ============================================
   HEADER COMPONENTS
   ============================================ */
/* Fixed Top Bar */
/* 
/* Top Bar */

/* ============================================
   SHARED COMPONENTS
   ============================================ */

/* Section Title */
/* .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-blue);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-green);
} */


.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.section-title p {
    color: #666;
    font-size: 1.1rem;
    margin-top: 15px;
}

/* Buttons */
.btn-primary-custom,
.btn-custom {
    background: var(--primary-blue);
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    cursor: pointer;
}

.btn-primary-custom:hover,
.btn-custom:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(30, 77, 156, 0.4);
    color: var(--dark-black);
}

.btn-outline-custom {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-custom:hover {
    background: white;
    color: var(--secondary-blue);
}


.btn-primary {
    background: var(--primary-blue);
    border: none;
}

.btn-primary:hover {
    background: #ff8555;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
}


/* Cards Base */
.card-base {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.card-base:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg,
            #0f4c81 0%,
            #1e3c72 50%,
            #2a5298 100%);
    color: white;
    padding: 48px 0 60px;
    position: relative;
    overflow: hidden;
}

/* Background image overlay */
.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?w=1920&h=400&fit=crop') center / cover no-repeat;
    opacity: 0.12;
}

/* Soft light overlay for depth */
.page-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right,
            rgba(255, 255, 255, 0.15),
            transparent 60%);
}

/* Content above overlays */
.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item.active {
    color: #fff;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-item a {
    color: #fff;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

/* ============================================
   HERO SLIDER
   ============================================ */

.hero-slider {
    height: 600px;
    position: relative;
}

.carousel-item {
    height: 600px;
}

.hero-slider .carousel-item {
    position: relative;
}

.hero-slider .carousel-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 50, 100, 0.1);
    /* your tint color + opacity */
    z-index: 1;
    /* put overlay above image but below controls */
    pointer-events: none;
    /* ✅ allows clicks to pass through */
}

/* make sure carousel controls are above overlay */
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    z-index: 2;
}

.carousel-item img {
    height: 100%;
    object-fit: cover;
    width: 100%;

}

.carousel-caption {
    background: rgba(30, 77, 156, 0.85);
    padding: 30px;
    border-radius: 10px;
    bottom: 100px;
}

.carousel-caption h2 {
    font-size: 48px;
    font-weight: bold;
}



/* Quick Links Section */

.quick-links {
    padding: 60px 20px;
}


.quick-link-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 1px solid #ddd;
    transition: all 0.3s;
    height: 100%;
}

.quick-link-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.quick-link-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.quick-link-card h3 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.quick-link-card p {
    color: #666;
    margin-bottom: 20px;
}



@media (max-width: 767px) {
    .quick-links {
        padding: 40px 15px;
    }

    .quick-link-card {
        padding: 25px 20px;
    }

    .quick-link-card i {
        font-size: 2.5rem;
    }
}


.about-section {
    background: var(--light-bg);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

@media (max-width: 991px) {
    .about-content {
        flex-direction: column;
        gap: 30px;
    }

    .about-text h3 {
        font-size: 1.5rem;
    }
}


.about-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.stat-box {
    display: inline-block;
    background: white;
    padding: 20px 30px;
    border-radius: 10px;
    margin: 10px 10px 10px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 576px) {
    .stat-box {
        display: block;
        width: 100%;
        margin: 10px 0;
        text-align: center;
    }
}


.stat-box h4 {
    color: var(--accent-color);
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.stat-box p {
    margin: 0;
    color: #666;
}

/* Notice & Events */

.notice-card,
.event-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    border-left: 4px solid var(--primary-color);
}

.notice-card:hover,
.event-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transform: translateX(10px);
}

@media (max-width: 768px) {

    .notice-card:hover,
    .event-card:hover {
        transform: translateY(-5px);
    }
}


.notice-date,
.event-date {
    background: var(--accent-color);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    display: inline-block;
    font-weight: 600;
    margin-bottom: 15px;
}

.event-card {
    border-left-color: var(--accent-color);
}

/* Featured Event Card */

.event-card-featured {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.event-card-featured:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.event-card-featured img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .event-card-featured img {
        height: 220px;
    }
}


.event-card-featured .event-content {
    padding: 25px;
}

.event-card-featured h5 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin: 15px 0;
}

.event-card-featured p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Simple Event Cards */

.event-card-simple {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    height: 100%;
    border-left: 3px solid var(--accent-color);
}

.event-card-simple:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

.event-date-small {
    background: var(--light-bg);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 5px;
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.event-card-simple h6 {
    color: var(--secondary-color);
    font-weight: 600;
    margin: 10px 0;
}

.event-card-simple p {
    font-size: 0.9rem;
    color: #666;
}

.event-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}



/* Facilities Section */

.facility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.facility-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.facility-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.facility-item i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}


@media (max-width: 576px) {
    .facility-item {
        padding: 25px 20px;
    }

    .facility-item i {
        font-size: 2.5rem;
    }
}





/* ===== Info Boxes Below Slider (AFMC Style) ===== */
.info-boxes {
    margin-top: -60px;
    /* overlap slider bottom a bit */
    position: relative;
    z-index: 5;
}

.home-info-box {
    min-height: 180px;
    transition: all 0.3s ease;
}

.home-info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.home-info-icon {
    flex-shrink: 0;
    color: #fff;
    opacity: 0.9;
}

.home-info-content h4 {
    font-weight: 600;
}

.home-info-content p {
    font-size: 15px;
    line-height: 1.6;
}

.home-read-more:hover {
    text-decoration: underline;
}


/* ============================================
   SECTIONS
   ============================================ */







.notice-section,
.event-section,
.hostel-section,
.map-section {
    padding: 80px 0;
}


.about-text p {
    text-align: justify;
}



/* Notice Items */
.notice-item {
    background: var(--primary-blue);
    border-left: 4px solid var(--primary-green);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.notice-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    background-color: var(--secondary-blue);
}

.notice-item a {
    color: #fff;
}

.notice-date {
    background: #007634;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    display: inline-block;
    font-size: 14px;
    margin-bottom: 10px;
}

.notice-title {
    color: var(--light-white);
    font-weight: 600;
    font-size: 18px;
}

/* Event Cards */
.event-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.event-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.event-body {
    padding: 25px;
    flex: 1 0 auto;
    /* allows the body to expand */
    display: flex;
    flex-direction: column;
}

.event-date {
    background: var(--primary-green);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 10px;
}

.event-body a.btn-primary-custom {
    margin-top: auto;
    /* push the button to the bottom */
}

/* Hostel Section */
.hostel-features {
    background: var(--primary-blue);
    color: white;
    padding: 40px;
    border-radius: 15px;
}

.hostel-features ul {
    list-style: none;
    padding: 0;
}

.hostel-features li {
    padding: 10px 0;
    font-size: 18px;
}

.hostel-features li i {
    margin-right: 10px;
    color: #ffd700;
}

/* Map Section */
.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: linear-gradient(180deg, var(--light-bg), #f5f8fc);
    padding: 70px 0 25px;
    color: #0e274e;
}


.footer h4,
.footer h5 {
    font-weight: 700;
    margin-bottom: 18px;
}

.footer p,
.footer li {
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-logo {
    height: 80px;
    margin-bottom: 20px;
}

.footer p a {
    color: #0e274e;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    padding: 8px 0;
}

.footer ul li a {
    position: relative;
    display: inline-block;
    padding-left: 0;
    transition: color 0.3s ease;
    color: #0e274e;
}

.footer ul li a::before {
    content: "›";
    position: absolute;
    left: -10px;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--primary-green);
}

.footer ul li a:hover {
    color: var(--primary-green);
}

.footer ul li a:hover::before {
    left: -5px;
    opacity: 1;
}


.footer a {
    -webkit-tap-highlight-color: transparent;
}

.footer a:focus {
    outline: none;
}


.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 50px;
    padding-top: 20px;
    font-size: 0.9rem;
}


.social-links a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-green);
    color: #fff;
    transform: translateY(-4px);
}

@media (max-width: 768px) {
    .footer {
        text-align: center;
    }

    .footer .row>div {
        margin-bottom: 30px;
    }

    .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }
}


/* ============================================
   FORMS & INPUTS
   ============================================ */

.form-group {
    margin-bottom: 25px;
}

.form-label {
    font-weight: 600;
    color: var(--dark-black);
    margin-bottom: 10px;
    display: block;
}

.form-control,
.form-control-custom {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: var(--transition);
}

.form-control:focus,
.form-control-custom:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(30, 77, 156, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.input-group-custom {
    position: relative;
}

.input-group-custom i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-blue);
    font-size: 18px;
}

.input-group-custom .form-control-custom {
    padding-left: 45px;
}




.departmentshortdescription {
    margin: 20px 0;
}

.departmentshortdescription p {
    text-align: justify;
    font-size: 16px;
    line-height: 1.8;
    color: #000;
}




/* ============================================
   GALLERY PAGE
   ============================================ */

.gallery-filters {
    margin-bottom: 40px;
    text-align: center;
}

.filter-btn {
    background: white;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 10px 30px;
    margin: 5px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 77, 156, 0.3);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    padding: 20px 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: var(--transition);
    background: white;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h5 {
    color: white;
    font-weight: 600;
    margin: 0;
}

.gallery-overlay p {
    color: #ddd;
    font-size: 14px;
    margin: 5px 0 0;
}

.category-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-green);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
}

/* Lightbox */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    animation: fadeIn 0.3s;
    align-items: center;
    justify-content: center;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    animation: zoomIn 0.3s;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
    }

    to {
        transform: scale(1);
    }
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    color: var(--primary-blue);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10000;
}

.lightbox-close:hover {
    background: var(--primary-blue);
    color: white;
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-blue);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10000;
}

.lightbox-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 30px;
    border-radius: 50px;
    color: var(--primary-blue);
    font-weight: 600;
    max-width: 80%;
    text-align: center;
}

.lightbox-counter {
    position: absolute;
    top: 30px;
    left: 30px;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 20px;
    border-radius: 50px;
    color: var(--primary-blue);
    font-weight: 600;
}

/* ============================================
   NOTICE PAGE
   ============================================ */

.stats-row {
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.stat-card i {
    font-size: 36px;
    margin-bottom: 15px;
}

.stat-card.total {
    border-top: 4px solid var(--primary-blue);
}

.stat-card.total i {
    color: var(--primary-blue);
}

.stat-card.new {
    border-top: 4px solid #28a745;
}

.stat-card.new i {
    color: #28a745;
}

.stat-card.important {
    border-top: 4px solid #dc3545;
}

.stat-card.important i {
    color: #dc3545;
}

.stat-card.this-month {
    border-top: 4px solid var(--primary-green);
}

.stat-card.this-month i {
    color: var(--primary-green);
}

.stat-number {
    font-size: 32px;
    font-weight: bold;
    color: var(--dark-black);
    margin-bottom: 5px;
}

.stat-label {
    color: #666;
    font-size: 14px;
    font-weight: 600;
}

.search-filter-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    margin-bottom: 40px;
}

.search-box {
    position: relative;
}

.search-box input {
    padding: 12px 50px 12px 20px;
    border: 2px solid #ddd;
    border-radius: 50px;
    font-size: 16px;
    transition: var(--transition);
    width: 100%;
}

.search-box input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 15px rgba(30, 77, 156, 0.2);
}

.search-box button {
    position: absolute;
    right: 5px;
    top: 5px;
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.search-box button:hover {
    background: var(--primary-green);
    transform: scale(1.05);
}

.filter-select {
    padding: 12px 20px;
    border: 2px solid #ddd;
    border-radius: 50px;
    font-size: 16px;
    transition: var(--transition);
    cursor: pointer;
    width: 100%;
}

.filter-select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 15px rgba(30, 77, 156, 0.2);
    outline: none;
}

.filter-label {
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 8px;
    display: block;
}

.reset-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.reset-btn:hover {
    background: #c82333;
    transform: scale(1.05);
}

.notices-container {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    margin-bottom: 40px;
}


/* ============================================
   NOTICE CARDS
   ============================================ */

.notice-card {
    background: white;
    border-left: 5px solid var(--primary-green);
    padding: 22px;
    margin-bottom: 10px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.notice-card:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    border-left-width: 8px;
}

.notice-card.important {
    border-left-color: #dc3545;
    background: #fff5f5;
}

.notice-card.urgent {
    border-left-color: #ffc107;
    background: #fffef5;
}

.notice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.notice-date {
    background: var(--primary-blue);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.notice-department {
    background: var(--primary-green);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.notice-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-new {
    background: #28a745;
    color: white;
}

.badge-important {
    background: #dc3545;
    color: white;
    animation: pulse 2s infinite;
}

.badge-urgent {
    background: #ffc107;
    color: #000;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.notice-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-black);
    margin-bottom: 10px;
    line-height: 1.4;
}

.notice-description {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.notice-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #888;
    flex-wrap: wrap;
}

.notice-meta i {
    margin-right: 5px;
    color: var(--primary-blue);
}

.notice-actions {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.btn-view-details {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-view-details:hover {
    background: var(--primary-green);
    transform: scale(1.05);
}

.btn-download {
    background: #6c757d;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-left: 10px;
}

.btn-download:hover {
    background: #5a6268;
    transform: scale(1.05);
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.no-results i {
    font-size: 64px;
    margin-bottom: 20px;
    color: #ddd;
}

.no-results h4 {
    color: #666;
    margin-bottom: 10px;
}

/* Pagination */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.pagination-btn {
    background: white;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    min-width: 45px;
    text-align: center;
}

.pagination-btn:hover:not(.disabled):not(.active) {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
}

.pagination-btn.active {
    background: var(--primary-blue);
    color: white;
    box-shadow: 0 4px 15px rgba(30, 77, 156, 0.3);
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-info {
    color: #666;
    font-weight: 600;
    padding: 10px 20px;
}

/* ============================================
   EVENTS PAGE
   ============================================ */

.filter-section {
    padding: 40px 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.filter-tabs {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.events-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.event-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    margin-bottom: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.event-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.event-card:hover .event-image img {
    transform: scale(1.1);
}

.event-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 10;
}

.badge-upcoming {
    background: var(--primary-green);
    color: white;
}

.badge-ongoing {
    background: #ffc107;
    color: #000;
    animation: pulse 2s infinite;
}

.badge-completed {
    background: #6c757d;
    color: white;
}

.event-date-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-blue);
    color: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    min-width: 70px;
}

.event-date-badge .day {
    font-size: 28px;
    font-weight: bold;
    display: block;
    line-height: 1;
}

.event-date-badge .month {
    font-size: 14px;
    display: block;
    margin-top: 5px;
}

.event-body {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.event-category {
    display: inline-block;
    background: var(--light-gray);
    color: var(--primary-blue);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.event-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--dark-black);
    margin-bottom: 15px;
    line-height: 1.4;
}

.event-description {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    flex-grow: 1;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    margin-top: auto;
}

.event-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
}

.event-meta-item i {
    color: var(--primary-green);
}

.event-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.btn-event {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    flex: 1;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.btn-event:hover {
    background: var(--primary-green);
    transform: scale(1.05);
    color: white;
}

.btn-event-outline {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
}

.btn-event-outline:hover {
    background: var(--primary-blue);
    color: white;
}



/* Prospectus Section */
.prospectus-section {
    background: var(--light-gray);
}

.prospectus-box {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.prospectus-box:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(-10px);
}

.prospectus-box-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-color));
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    color: white;
}

.prospectus-box-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.prospectus-box-icon i {
    font-size: 2.5rem;
    color: white;
}

.prospectus-badge {
    background: var(--accent-color);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 10px;
}

.prospectus-box-header h3 {
    color: white;
    font-size: 1.6rem;
    margin: 0;
    font-weight: 700;
}

.prospectus-box-body {
    padding: 30px;
    flex: 1;
}

.prospectus-description {
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.prospectus-features {
    margin-bottom: 25px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-item i {
    color: var(--accent-color);
    font-size: 1rem;
    flex-shrink: 0;
}

.feature-item span {
    color: var(--dark-text);
    font-size: 0.9rem;
    font-weight: 500;
}

.prospectus-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

.prospectus-meta span {
    color: #999;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.prospectus-meta i {
    color: var(--primary-blue);
}

.prospectus-box-footer {
    padding: 25px 30px;
    background: var(--light-bg);
    display: flex;
    gap: 15px;
}

.btn-download-prospectus {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s;
    flex: 1;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-download-prospectus:hover {
    background: #ff8555;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
    color: white;
}

.btn-view-details {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-blue);
    padding: 14px 30px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-view-details:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .prospectus-box-header {
        flex-direction: column;
        text-align: center;
    }

    .prospectus-box-footer {
        flex-direction: column;
    }

    .prospectus-meta {
        flex-direction: column;
        gap: 10px;
    }
}

.prospectus-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    border-left: 5px solid var(--primary-blue);
    display: flex;
    gap: 25px;
    align-items: flex-start;
    height: 100%;
}

.prospectus-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.prospectus-icon {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-color));
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.prospectus-icon i {
    font-size: 2rem;
    color: white;
}

.prospectus-content {
    flex: 1;
}

.prospectus-year {
    background: var(--accent-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.prospectus-content h4 {
    color: var(--secondary-color);
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.prospectus-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 10px;
}

.prospectus-action {
    display: flex;
    align-items: center;
}

.prospectus-action .btn {
    white-space: nowrap;
}


/* Featured Event */
.featured-event {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    margin-bottom: 60px;
    border: 3px solid var(--primary-green);
}

.featured-content {
    display: flex;
    flex-direction: row;
}

.featured-image {
    flex: 0 0 50%;
    position: relative;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #dc3545;
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 16px;
}

.featured-body {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-body h3 {
    font-size: 32px;
    font-weight: bold;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.featured-body p {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
}

/* Calendar Section */
.calendar-section {
    padding: 80px 0;
    background: white;
}

.calendar-card {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 20px;
    border-left: 5px solid var(--primary-green);
    transition: var(--transition);
}

.calendar-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.calendar-date {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.calendar-date-box {
    background: var(--primary-blue);
    color: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    min-width: 80px;
}

.calendar-date-box .day {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
}

.calendar-date-box .month-year {
    font-size: 14px;
    margin-top: 5px;
}

.calendar-event-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-blue);
}

.calendar-event-desc {
    color: #666;
    margin-top: 10px;
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.contact-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
    transition: var(--transition);
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.contact-card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--primary-green);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    flex-shrink: 0;
}

.contact-card-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-blue);
    margin: 0;
}

.contact-info-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.contact-info-item:last-child {
    border-bottom: none;
}

.contact-info-item i {
    color: var(--primary-green);
    margin-right: 10px;
    width: 20px;
}

.contact-info-item strong {
    color: var(--primary-blue);
    display: inline-block;
    min-width: 100px;
}

.contact-info-item a {
    color: #333;
}

.contact-info-item a:hover {
    color: var(--primary-green);
}

.form-section {
    padding: 80px 0;
    background: white;
}

.contact-form {
    background: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.btn-submit {
    background: var(--primary-blue);
    border: none;
    color: white;
    padding: 15px 50px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(30, 77, 156, 0.4);
}

/* ============================================
   ADMISSION PAGE
   ============================================ */

.admission-overview {
    padding: 80px 0;
    background: white;
}

.overview-box {
    background: var(--light-gray);
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.overview-box h3 {
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-weight: bold;
}

.programs-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.program-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    margin-bottom: 30px;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.program-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.program-card-body {
    padding: 30px;
}

.program-card h3 {
    color: var(--primary-blue);
    font-weight: bold;
    margin-bottom: 15px;
}

.program-badge {
    background: var(--primary-green);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 15px;
}

.program-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.program-features li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.program-features li i {
    color: var(--primary-green);
    margin-right: 10px;
}

.eligibility-section {
    padding: 80px 0;
    background: white;
}

.eligibility-card {
    background: var(--primary-blue);
    color: white;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.eligibility-card h4 {
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 24px;
}

.eligibility-card ul {
    list-style: none;
    padding: 0;
}

.eligibility-card ul li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
}

.eligibility-card ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #ffd700;
}


/* ============================================
   FEES PAGE
   ============================================ */

.fees-section {
    padding: 80px 0;
}

.fee-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 40px;
}

.fee-card-header {
    background: var(--primary-blue);
    color: white;
    padding: 30px;
    text-align: center;
}

.fee-card-header h3 {
    font-size: 28px;
    font-weight: bold;
    margin: 0;
}

.fee-card-header p {
    margin: 10px 0 0 0;
    font-size: 16px;
    opacity: 0.9;
}

.fee-card-body {
    padding: 0;
}

.fees-table {
    width: 100%;
    margin: 0;
}

.fees-table th {
    background: var(--light-gray);
    padding: 20px;
    font-weight: 600;
    color: var(--primary-blue);
    border-bottom: 2px solid #dee2e6;
}

.fees-table td {
    padding: 18px 20px;
    border-bottom: 1px solid #dee2e6;
}

.fees-table tbody tr:hover {
    background: var(--light-gray);
}

.total-row {
    background: #e3f2fd !important;
    font-weight: bold;
    color: var(--primary-blue);
    font-size: 18px;
}

.highlight-row {
    background: #fff3cd !important;
    font-weight: 600;
}

.badge-custom {
    background: var(--primary-green);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.info-box {
    background: #e8f4f8;
    border-left: 5px solid var(--primary-blue);
    padding: 20px;
    border-radius: 10px;
    margin: 30px 0;
}

.info-box h5 {
    color: var(--primary-blue);
    font-weight: bold;
    margin-bottom: 15px;
}

.info-box ul {
    margin: 0;
    padding-left: 20px;
}

.info-box ul li {
    margin-bottom: 8px;
    color: #333;
}

.payment-info {
    background: var(--primary-blue);
    color: white;
    padding: 40px;
    border-radius: 15px;
    margin: 40px 0;
}

.payment-info h4 {
    font-weight: bold;
    margin-bottom: 20px;
}

.payment-info ul {
    list-style: none;
    padding: 0;
}

.payment-info ul li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
}

.payment-info ul li i {
    position: absolute;
    left: 0;
    color: #ffd700;
}

/* ============================================
   HOSTEL PAGE
   ============================================ */

.overview-section {
    padding: 80px 0;
    background: white;
}

.residential-badge {
    background: var(--primary-blue);
    color: white;
    padding: 20px 40px;
    border-radius: 50px;
    font-size: 20px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(30, 77, 156, 0.3);
}

.residential-badge i {
    margin-right: 10px;
    font-size: 24px;
}

.overview-content {
    background: var(--light-gray);
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.overview-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 0;
}

.facilities-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.facility-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
    transition: var(--transition);
    height: 100%;
}

.facility-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.facility-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 36px;
}

.facility-card h4 {
    color: var(--primary-blue);
    font-weight: bold;
    margin-bottom: 15px;
}

.facility-card p {
    color: #666;
    line-height: 1.6;
}

.rules-section {
    padding: 80px 0;
    background: white;
}

.rule-card {
    border-left: 5px solid var(--primary-green);
    background: var(--light-gray);
    padding: 30px;
    margin-bottom: 25px;
    border-radius: 10px;
    transition: var(--transition);
}

.rule-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.rule-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.rule-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.rule-card h4 {
    color: var(--primary-blue);
    font-weight: bold;
    margin: 0;
}

.rule-content {
    padding-left: 65px;
}

.rule-content p {
    margin-bottom: 15px;
    color: #333;
    line-height: 1.8;
    font-size: 16px;
}

.time-table {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-top: 15px;
}

.time-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
    align-items: center;
}

.time-row:last-child {
    border-bottom: none;
}

.time-label {
    font-weight: 600;
    color: var(--primary-blue);
    font-size: 16px;
}

.time-value {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 16px;
}

.important-notice {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin: 40px 0;
    box-shadow: 0 5px 20px rgba(220, 53, 69, 0.3);
}

.important-notice h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-weight: bold;
}

.important-notice h4 i {
    font-size: 28px;
}

.important-notice ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.important-notice ul li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    line-height: 1.8;
}

.important-notice ul li::before {
    content: '\f05a';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #ffd700;
}

.hostel-gallery {
    padding: 80px 0;
    background: var(--light-gray);
}

.gallery-caption {
    padding: 20px;
    background: white;
    text-align: center;
}

.gallery-caption h5 {
    color: var(--primary-blue);
    font-weight: bold;
    margin: 0;
}

/* ============================================
   ABOUT PAGE
   ============================================ */

.intro-section {
    padding: 80px 0;
    background: white;
}

.intro-content {
    font-size: 18px;
    line-height: 1.9;
    color: #333;
    text-align: justify;
}

.intro-content p {
    margin-bottom: 20px;
}

.highlight-box {
    background: var(--primary-blue);
    color: white;
    padding: 40px;
    border-radius: 15px;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(30, 77, 156, 0.3);
}

.highlight-box h3 {
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 28px;
}

.highlight-box p {
    font-size: 18px;
    line-height: 1.8;
    margin: 0;
}

.founder-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.founder-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
}

.founder-image {
    flex: 0 0 40%;
    height: 400px;
    background: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.founder-image i {
    font-size: 120px;
    color: white;
    opacity: 0.3;
}

.founder-content {
    flex: 1;
    padding: 50px;
}

.founder-content h3 {
    color: var(--primary-blue);
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
}

.founder-content .title {
    color: var(--primary-green);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
}

.founder-content p {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
}

.stats-section {
    padding: 80px 0;
    background: var(--primary-blue);
    color: white;
}

.stat-icon {
    width: 100px;
    height: 100px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 48px;
}

.features-section {
    padding: 80px 0;
    background: white;
}

.feature-card {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    transition: var(--transition);
    border-left: 5px solid var(--primary-green);
}

.feature-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.feature-card h4 {
    color: var(--primary-blue);
    font-weight: bold;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-card h4 i {
    color: var(--primary-green);
    font-size: 24px;
}

.feature-card p {
    color: #666;
    line-height: 1.8;
    margin: 0;
}

.highlights-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.highlight-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.highlight-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.highlight-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 36px;
}

.highlight-item h5 {
    color: var(--primary-blue);
    font-weight: bold;
    margin-bottom: 10px;
}

.accreditation-section {
    padding: 80px 0;
    background: white;
}

.accreditation-badges {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.accreditation-badge {
    text-align: center;
    padding: 30px;
    background: var(--light-gray);
    border-radius: 15px;
    min-width: 250px;
    transition: var(--transition);
}

.accreditation-badge:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.accreditation-badge i {
    font-size: 64px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.accreditation-badge h4 {
    color: var(--primary-blue);
    font-weight: bold;
    margin-bottom: 10px;
}

.accreditation-badge p {
    color: #666;
    margin: 0;
}

.vision-mission-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.vm-card {
    background: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 30px;
    height: 100%;
}

.vm-card h3 {
    color: var(--primary-blue);
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.vm-card h3 i {
    color: var(--primary-green);
}

.vm-card ul {
    list-style: none;
    padding: 0;
}

.vm-card ul li {
    padding: 15px 0;
    padding-left: 40px;
    position: relative;
    font-size: 17px;
    line-height: 1.8;
    color: #555;
}

.vm-card ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-size: 20px;
}








/* ================= result page ====== */

/* Results Section */
.results-section {
    padding: 40px 0 80px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-blue);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-green);
}

/* Result Categories */
.result-category {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.category-header {
    background: var(--primary-blue);
    color: white;
    padding: 20px 30px;
    margin: -30px -30px 30px -30px;
    border-radius: 15px 15px 0 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.category-header i {
    font-size: 32px;
}

.category-header h3 {
    margin: 0;
    font-size: 28px;
    font-weight: bold;
}

/* Result Items */
.result-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.result-item {
    background: var(--light-gray);
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.result-items a {
    width: 100%;
}

.result-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--primary-green);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.result-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-blue);
}

.result-item:hover::before {
    transform: scaleY(1);
}

.result-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 28px;
}

.result-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 10px;
    line-height: 1.4;
}

.result-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
    flex-wrap: wrap;
}

.result-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.result-meta i {
    color: var(--primary-green);
}

.pdf-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-blue);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.pdf-link:hover {
    background: var(--secondary-blue);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(30, 77, 156, 0.4);
}

.pdf-link i {
    font-size: 20px;
}

/* New Badge */
.new-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #dc3545;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}


/* Responsive */
@media (max-width: 768px) {

    .result-items {
        grid-template-columns: 1fr;
    }

    .result-category {
        padding: 20px;
    }
}


.result-view-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.result-detail-card {
    background: white;
    border-radius: 15px;
    padding: 0;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 30px;
}

.result-card-header {
    background: var(--primary-blue);
    color: white;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.result-card-header i {
    font-size: 32px;
}

.result-card-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
}

.result-info-table {
    width: 100%;
    margin: 0;
}

.result-info-table tbody tr {
    border-bottom: 1px solid #eee;
}

.result-info-table tbody tr:last-child {
    border-bottom: none;
}

.result-info-table th {
    padding: 20px 30px;
    font-weight: 600;
    color: #1e4d9c;
    background: #f8f9fa;
    vertical-align: top;
    width: 180px;
}

.result-info-table td {
    padding: 20px 30px;
    color: #333;
}

.result-info-table .separator {
    padding: 20px 10px;
    color: #1e4d9c;
    font-weight: bold;
    width: 20px;
}

.pdf-viewer-container {
    background: #f8f9fa;
    border-radius: 10px;
    margin: 20px 0;
}

.pdf-viewer-container embed {
    width: 100%;
    height: 800px;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.btn-download {
    background: #1e4d9c;
    color: white;
}

.btn-download:hover {
    background: #0d7f3f;
    color: white;
    transform: scale(1.05);
}


.aside-results {
    background: white;
    border-radius: 15px;
    padding: 0;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.aside-header {
    background: linear-gradient(135deg, #1e4d9c, #0d7f3f);
    color: white;
    padding: 20px 25px;
}

.aside-header h4 {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
}

.aside-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.aside-list li {
    border-bottom: 1px solid #eee;
}

.aside-list li:last-child {
    border-bottom: none;
}

.aside-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 25px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.aside-list a:hover {
    background: #f8f9fa;
    color: #1e4d9c;
    padding-left: 35px;
}

.aside-list a i {
    color: #0d7f3f;
    font-size: 18px;
}

.result-badge {
    display: inline-block;
    background: #0d7f3f;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-left: 10px;
}

.info-alert {
    background: #e3f2fd;
    border-left: 5px solid #1e4d9c;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.info-alert i {
    color: #1e4d9c;
    font-size: 24px;
    margin-right: 10px;
}

.info-alert p {
    margin: 0;
    color: #333;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .result-view-section {
        padding: 40px 0;
    }

    .result-info-table th,
    .result-info-table td,
    .result-info-table .separator {
        padding: 15px;
        display: block;
        width: 100%;
    }

    .result-info-table th {
        border-bottom: none;
        padding-bottom: 5px;
    }

    .result-info-table .separator {
        display: none;
    }

    .pdf-viewer-container embed {
        height: 500px;
    }

    .action-buttons {
        flex-direction: column;
    }

    .btn-action {
        width: 100%;
        justify-content: center;
    }
}


/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .nav-menu>li>a {
        padding: 30px 15px;
        font-size: 14px;
    }

    .featured-content {
        flex-direction: column;
    }

    .featured-image {
        flex: 0 0 100%;
        height: 300px;
    }

    .founder-card {
        flex-direction: column;
    }

    .founder-image {
        flex: 0 0 100%;
        height: 300px;
    }
}

@media (max-width: 768px) {

    /* Header Responsive */
    .top-header-content {
        justify-content: center;
    }

    .top-links {
        font-size: 12px;
    }

    .header-search-box {
        width: 100%;
        margin-top: 10px;
    }

    .header-search-box input {
        flex: 1;
        width: auto;
    }

    .mobile-toggle {
        display: flex;
        background-color: transparent;
        margin-left: 150px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #2c3e50;
        flex-direction: column;
        padding-top: 80px;
        transition: right 0.3s;
        overflow-y: auto;
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu>li {
        width: 100%;
    }

    .nav-menu>li>a {
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #34495e;
        display: none;
    }

    .nav-menu li.dropdown-open .dropdown {
        display: block;
    }

    .dropdown a {
        padding: 12px 30px;
        color: #fff;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .dropdown a:hover {
        background: #ff9800;
        padding-left: 35px;
    }

    .dropdown h4 {
        color: var(--light-white);
    }

    .mobile-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
    }

    .mobile-overlay.active {
        display: block;
    }

    /* Hero Slider */
    .hero-slider,
    .carousel-item {
        height: 400px;
    }

    .carousel-caption h2 {
        font-size: 28px;
    }



    /* home about page */

    .about-section {
        padding: 80px 0;
    }




    /* Page Headers */
    .page-header h1 {
        font-size: 32px;
    }

    /* Section Titles */
    .section-title h2 {
        font-size: 28px;
    }

    /* Login Page */
    .login-left {
        padding: 40px 30px;
    }

    .login-right {
        padding: 40px 30px;
    }

    .login-tabs {
        gap: 8px;
    }

    .login-tab {
        min-width: calc(50% - 4px);
        padding: 12px 8px;
    }

    .login-tab i {
        font-size: 20px;
    }

    .login-tab span {
        font-size: 12px;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }

    .lightbox-nav {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .lightbox-prev {
        left: 15px;
    }

    .lightbox-next {
        right: 15px;
    }

    .lightbox-close {
        width: 40px;
        height: 40px;
        font-size: 20px;
        top: 15px;
        right: 15px;
    }

    /* Notice Page */
    .notice-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .pagination-container {
        gap: 5px;
    }

    .pagination-btn {
        padding: 8px 12px;
        min-width: 40px;
        font-size: 14px;
    }

    /* Contact Form */
    .contact-form {
        padding: 30px 20px;
    }

    /* Event Cards */
    .featured-body {
        padding: 30px;
    }

    .featured-body h3 {
        font-size: 24px;
    }

    /* Calendar */
    .calendar-date {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Hostel Rules */
    .rule-content {
        padding-left: 0;
    }

    .time-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .logo a img {
        height: 60px;
    }

    .top-header {
        padding: 15px 0;
    }

    .top-links {
        gap: 10px;
    }

    .top-links a {
        font-size: 10px;
        padding-right: 13px;
    }

    .main-navbar {
        top: 50px;
    }

    .news-ticker-container {
        margin-top: 130px;
    }

    .carousel-caption {
        padding: 15px;
        bottom: 50px;
    }

    .carousel-caption h2 {
        font-size: 20px;
    }

    .section-title h2 {
        font-size: 24px;
    }

    .admission-card-body,
    .event-body {
        padding: 20px;
    }

    .btn-primary-custom,
    .btn-custom {
        padding: 10px 20px;
        font-size: 14px;
    }

    .notice-item {
        padding: 15px;
    }

    .notice-title {
        font-size: 16px;
    }

    .event-date-badge {
        padding: 10px;
        min-width: 60px;
    }

    .event-date-badge .day {
        font-size: 24px;
    }

    .event-date-badge .month {
        font-size: 12px;
    }

    .contact-card,
    .facility-card {
        padding: 20px;
    }

    .contact-card-header {
        flex-direction: column;
    }

    .footer {
        padding: 40px 0 20px;
    }

    .footer-logo {
        height: 60px;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.p-4 {
    padding: 1.5rem;
}

.p-5 {
    padding: 3rem;
}

.shadow {
    box-shadow: var(--shadow-md);
}

.shadow-sm {
    box-shadow: var(--shadow-sm);
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

.rounded {
    border-radius: 0.375rem;
}

.rounded-lg {
    border-radius: 15px;
}

.d-none {
    display: none;
}

.d-block {
    display: block;
}

.d-flex {
    display: flex;
}

.d-inline-block {
    display: inline-block;
}

.align-items-center {
    align-items: center;
}

.justify-content-center {
    justify-content: center;
}

.justify-content-between {
    justify-content: space-between;
}

.gap-3 {
    gap: 1rem;
}

.gap-4 {
    gap: 1.5rem;
}

.w-100 {
    width: 100%;
}

.h-100 {
    height: 100%;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {

    .top-header,
    .main-header,
    .mobile-toggle,
    .mobile-overlay,
    .footer,
    .btn-primary-custom,
    .btn-custom,
    .social-links {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
    }

    .page-header {
        background: none;
        color: #000;
        padding: 20px 0;
    }

    .page-header::before {
        display: none;
    }

    a {
        color: #000;
        text-decoration: underline;
    }
}


/*Campustour*/



/*Mission & Vission*/

.slider-section {
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
    min-height: 500px;
    position: relative;
    padding: 60px 0;
    overflow: hidden;
}

/* Diagonal corner design */
.slider-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    transform: rotate(45deg);
}

.slider-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.03);
    transform: rotate(45deg);
}

.slide-container {
    position: relative;
    z-index: 2;
}

.slide-item {
    display: none;
}

.slide-item.active {
    display: flex;
    align-items: center;
    animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Left Image */
.slide-image-left {
    width: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.slide-image-left:hover {
    transform: scale(1.05);
}

/* Right Preview Container */
.preview-container {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.slide-image-right {
    width: 90%;
    object-fit: cover;
    border-radius: 15px;
    position: absolute;
    right: 0;
    opacity: 0.4;
    filter: blur(2px) brightness(0.7);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: all 0.5s ease;
}

.preview-container:hover .slide-image-right {
    opacity: 0.6;
    filter: blur(1px) brightness(0.8);
    transform: translateX(-10px);
}

/* Preview Label */
.preview-label {
    position: absolute;
    bottom: 20px;
    right: 30px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 2;
    letter-spacing: 1px;
}

.slide-content {
    color: white;
    padding: 40px;
}

.slide-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.slide-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.slide-content ul li {
    font-size: 1.3rem;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    line-height: 1.6;
}

.slide-content ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #60a5fa;
    font-size: 2rem;
    line-height: 1.3;
}

/* Slider indicators */
.slider-indicators {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.indicator {
    width: 50px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.indicator.active {
    background: white;
    width: 70px;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* Navigation buttons */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.slider-nav:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: 20px;
}

.slider-nav.next {
    right: 20px;
}

/* Responsive */
@media (max-width: 992px) {
    .preview-container {
        display: none;
    }
}

@media (max-width: 768px) {
    .slide-content h2 {
        font-size: 2rem;
    }

    .slide-content ul li {
        font-size: 1.1rem;
    }

    .slide-image-left {
        height: 250px;
        margin-bottom: 20px;
    }

    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}