/* =========================================================
   COLLEGE INSIDE - MINIMALISTIC SOFT BLUISH & REDDISH TONE
   (Includes Mobile Hero Slider Fix & 2-Column Mobile Gallery)
   ========================================================= */
.ci-page-wrapper {
    --ci-navy: #172b4d;
    --ci-blue: #2563eb;
    --ci-blue-tint: #eff4ff;
    --ci-blue-border: #dbeafe;
    
    --ci-red: #a31d36;
    --ci-red-tint: #fff1f3;
    --ci-red-border: #fecdd3;

    --ci-slate: #475569;
    --ci-bg: #f8faff;
    --ci-card: #ffffff;
    --ci-line: #e2e8f0;
    --ci-muted: #64748b;
    --ci-text: #334155;

    background: linear-gradient(180deg, #f4f7ff 0%, #f9fafc 55%, #fff7f8 100%);
    color: var(--ci-text);
    font-family: 'Poppins', sans-serif;
    padding-bottom: 40px;
}

/* =========================================================
   1. MINIMALISTIC BREADCRUMB
   ========================================================= */
.ci-breadcrumb-wrap {
    background: linear-gradient(90deg, #eaf1ff 0%, #f5f7ff 50%, #ffeff2 100%);
    border-bottom: 1px solid #dde6f5;
    padding: 22px 0 12px;
}

.ci-breadcrumb {
    font-size: 12.5px;
    color: var(--ci-muted);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    align-items: center;
}

.ci-breadcrumb a {
    color: var(--ci-navy);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.ci-breadcrumb a:hover {
    color: var(--ci-red);
}

.ci-breadcrumb span {
    color: #94a3b8;
}

.ci-breadcrumb b {
    color: var(--ci-red);
    background: #ffffff;
    border: 1px solid var(--ci-red-border);
    padding: 3px 13px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(163, 29, 54, 0.06);
}

/* MAIN PAGE CONTAINER */
.ci-page {
    padding: 28px 0 20px;
}

/* =========================================================
   2. HERO SECTION & OWL CAROUSEL FIX
   ========================================================= */
.ci-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
    background: linear-gradient(135deg, #ffffff 0%, #f4f8ff 65%, #fff4f6 100%);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #dce6f7;
    box-shadow: 0 6px 24px rgba(23, 43, 77, 0.04);
    align-items: center;
}

.ci-hero-copy {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 20px;
    align-items: start;
    min-width: 0;
}

.ci-college-logo {
    min-height: 96px;
    padding: 10px;
    background: #ffffff;
    border: 1px solid var(--ci-blue-border);
    border-radius: 12px;
    display: grid;
    place-items: center;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.05);
}

.ci-college-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.ci-hero-text h1 {
    margin: 0 0 12px;
    font-size: 28px;
    color: var(--ci-navy);
    line-height: 1.28;
    font-family: "Playfair Display", serif;
    font-weight: 700;
}

.ci-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ci-hero-meta span {
    background: #ffffff;
    border: 1px solid var(--ci-blue-border);
    padding: 4px 11px;
    border-radius: 6px;
    font-size: 11.5px;
    color: var(--ci-navy);
    font-weight: 500;
}

.ci-hero-meta span:nth-child(even) {
    border-color: var(--ci-red-border);
    background: #fffafb;
}

.ci-hero-text p {
    margin: 16px 0 20px;
    color: var(--ci-text);
    font-size: 14px;
    line-height: 1.7;
}

.ci-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.ci-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.ci-btn.ci-primary {
    background: linear-gradient(135deg, var(--ci-navy) 0%, var(--ci-red) 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 14px rgba(163, 29, 54, 0.18);
}

.ci-btn.ci-primary:hover {
    background: linear-gradient(135deg, var(--ci-red) 0%, var(--ci-navy) 100%);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(23, 43, 77, 0.22);
}

.ci-btn.ci-outline {
    border: 1px solid var(--ci-blue-border);
    color: var(--ci-navy);
    background: #ffffff;
}

.ci-btn.ci-outline:hover {
    background: var(--ci-blue-tint);
    border-color: #93c5fd;
}

/* HERO SLIDER CONTAINER FIXED FOR ALL SCREENS */
.ci-hero-image {
    width: 100%;
    min-width: 0;
    height: 310px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--ci-blue-border);
    background: var(--ci-blue-tint);
    position: relative;
}

.ci-hero-image .owl-carousel,
.ci-hero-image .owl-stage-outer,
.ci-hero-image .owl-stage,
.ci-hero-image .owl-item,
.ci-hero-image .item {
    width: 100%;
    height: 100%;
}

.ci-hero-image img {
    width: 100% !important;
    height: 100% !important;
    min-height: 310px;
    object-fit: cover;
    display: block !important;
    border-radius: 12px;
}

/* =========================================================
   3. QUICK FACTS
   ========================================================= */
.ci-quick-facts {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    background: transparent;
    margin-top: 22px;
    border: none;
    box-shadow: none;
}

.ci-fact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid var(--ci-blue-border);
    border-bottom: 3px solid #bfdbfe;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.ci-fact:nth-child(even) {
    border-color: var(--ci-red-border);
    border-bottom: 3px solid #fda4af;
}

.ci-fact:hover {
    background: var(--ci-blue-tint);
    transform: translateY(-2px);
}

.ci-fact:nth-child(even):hover {
    background: var(--ci-red-tint);
}

.ci-fact span {
    font-size: 18px;
    width: 36px;
    height: 36px;
    background: var(--ci-blue-tint);
    border: 1px solid var(--ci-blue-border);
    border-radius: 8px;
    display: grid;
    place-items: center;
}

.ci-fact:nth-child(even) span {
    background: var(--ci-red-tint);
    border-color: var(--ci-red-border);
}

.ci-fact small {
    display: block;
    color: var(--ci-muted);
    font-size: 10.5px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 2px;
    letter-spacing: 0.4px;
}

.ci-fact b {
    color: var(--ci-navy);
    font-size: 13.5px;
    font-weight: 600;
}

/* =========================================================
   4. CONTENT GRID & SIDEBAR
   ========================================================= */
.ci-content-grid {
    display: grid;
    grid-template-columns: 1.55fr 0.85fr;
    gap: 24px;
    margin-top: 24px;
}

.ci-main-content,
.ci-sidebar {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.ci-content-card,
.ci-side-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-top: 3px solid #cbd5e1;
    border-radius: 14px;
    padding: 26px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.025);
}

.ci-content-card:nth-child(odd) {
    border-top-color: #93c5fd;
}

.ci-content-card:nth-child(even),
.ci-side-card:first-child {
    border-top-color: #fda4af;
}

.ci-side-card:last-child {
    border-top-color: #93c5fd;
}

#enquiry {
    height: auto;
    max-height: 540px;
    overflow-y: auto;
}

.ci-content-card h2,
.ci-side-card h2 {
    margin: 0 0 16px;
    color: var(--ci-navy);
    font-size: 19px;
    font-weight: 600;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.01em;
}

.ci-content-card h2::after,
.ci-side-card h2::after {
    display: none;
}

.ci-content-card p {
    color: var(--ci-text);
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 16px;
}

.ci-content-card h3 {
    color: var(--ci-red);
    font-size: 13.5px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin: 20px 0 12px;
}

/* HIGHLIGHTS */
.ci-highlight-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.ci-highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--ci-blue-tint);
    border: 1px solid var(--ci-blue-border);
    border-left: 3px solid var(--ci-navy);
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 13px;
    color: var(--ci-navy);
    font-weight: 500;
}

.ci-highlight:nth-child(even) {
    background: var(--ci-red-tint);
    border-color: var(--ci-red-border);
    border-left: 3px solid var(--ci-red);
}

/* TABLE */
.ci-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 10px;
    border: 1px solid var(--ci-line);
    margin-bottom: 10px;
}

.ci-table-wrap table {
    width: 100%;
    border-collapse: collapse;
    min-width: 400px;
}

.ci-table-wrap th {
    background: var(--ci-blue-tint);
    color: var(--ci-navy);
    text-align: left;
    padding: 12px 15px;
    font-size: 12.5px;
    font-weight: 600;
    border-bottom: 1px solid var(--ci-blue-border);
    white-space: nowrap;
}

.ci-table-wrap td {
    padding: 12px 15px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 13.5px;
    color: var(--ci-text);
}

.ci-total td {
    font-weight: 600;
    background: var(--ci-red-tint);
    color: var(--ci-red);
}

.ci-note {
    font-size: 12px;
    color: var(--ci-muted);
    margin-top: 10px;
}

/* =========================================================
   GALLERY (2 IMAGES PER ROW ON DESKTOP & MOBILE)
   ========================================================= */
.ci-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.ci-gallery img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
    transition: 0.25s ease;
    border: 1px solid var(--ci-blue-border);
}

.ci-gallery img:hover {
    opacity: 0.94;
    transform: translateY(-2px);
    border-color: var(--ci-red-border);
}

/* SIDEBAR AT A GLANCE ROWS */
.ci-side-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    margin-bottom: 6px;
    background: var(--ci-blue-tint);
    border: 1px solid #e5edff;
    border-radius: 8px;
    font-size: 13px;
}

.ci-side-row:nth-child(even) {
    background: #fff8f9;
    border-color: #ffe4e8;
}

.ci-side-row:last-child {
    margin-bottom: 0;
}

.ci-side-row span {
    color: var(--ci-muted);
    font-weight: 500;
}

.ci-side-row b {
    color: var(--ci-navy);
    font-weight: 600;
    text-align: right;
}

/* =========================================================
   5. PG INTAKE WIDGET
   ========================================================= */
.ci-pg-eyebrow {
    display: inline-block;
    color: var(--ci-red);
    background: var(--ci-red-tint);
    border: 1px solid var(--ci-red-border);
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}

.ci-pg-title {
    font-size: 18px !important;
    color: var(--ci-navy);
    margin: 0 0 4px !important;
    border: none !important;
    padding: 0 !important;
}

.ci-pg-subtitle {
    font-size: 12.5px;
    color: var(--ci-muted);
    margin-bottom: 14px;
}

.ci-pg-table-wrap {
    border: 1px solid var(--ci-blue-border);
    border-radius: 10px;
    overflow: hidden;
}

.ci-pg-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.ci-pg-table th {
    background: var(--ci-blue-tint);
    color: var(--ci-navy);
    font-size: 11px;
    font-weight: 600;
    border-bottom: 1px solid var(--ci-blue-border);
    padding: 10px 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ci-pg-table td {
    font-size: 13px;
    padding: 11px 12px;
    color: var(--ci-text);
    border-bottom: 1px solid #f1f5f9;
}

.ci-pg-table tr:last-child td {
    border-bottom: none;
}

.ci-pg-seats {
    background: var(--ci-red-tint);
    color: var(--ci-red);
    border: 1px solid var(--ci-red-border);
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.ci-pg-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: var(--ci-blue-tint);
    border: 1px solid var(--ci-blue-border);
    padding: 12px;
    border-radius: 10px;
    margin-top: 14px;
}

.ci-pg-notice-icon {
    width: 18px;
    height: 18px;
    background: var(--ci-navy);
    color: #ffffff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

.ci-pg-notice p {
    margin: 0;
    font-size: 11.5px;
    color: var(--ci-slate);
    line-height: 1.5;
}

/* =========================================================
   6. MINIMALISTIC BOTTOM CTA
   ========================================================= */
.ci-bottom-cta {
    background: transparent;
    padding: 10px 0 20px;
    margin-top: 10px;
}

.ci-bottom-inner {
    background: linear-gradient(135deg, #eaf1ff 0%, #f5f8ff 50%, #ffeff2 100%);
    border: 1px solid #d5e2f7;
    border-radius: 16px;
    padding: 32px 36px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.ci-bottom-inner strong {
    display: block;
    font-size: 24px;
    color: var(--ci-navy);
    margin-bottom: 4px;
    font-family: "Playfair Display", serif;
}

.ci-bottom-inner span {
    font-size: 14px;
    color: var(--ci-slate);
}

.ci-bottom-inner a {
    background: linear-gradient(135deg, var(--ci-navy) 0%, var(--ci-red) 100%);
    color: #ffffff;
    padding: 11px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    transition: 0.2s ease;
    box-shadow: 0 4px 14px rgba(163, 29, 54, 0.16);
}

.ci-bottom-inner a:hover {
    background: linear-gradient(135deg, var(--ci-red) 0%, var(--ci-navy) 100%);
    color: #ffffff;
    transform: translateY(-1px);
}

/* =========================================================
   MOBILE RESPONSIVE (MEDIA QUERIES - SLIDER BUG FIXED)
   ========================================================= */
@media (max-width: 992px) {
    .ci-content-grid,
    .ci-hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .ci-hero-image {
        height: 340px;
    }

    .ci-hero-image img {
        min-height: 340px;
    }

    .ci-quick-facts {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .ci-page {
        padding: 15px 0 20px;
    }

    .ci-breadcrumb-wrap {
        padding: 16px 12px 10px;
    }

    /* Keep Grid instead of Flex-Column so Owl Carousel never loses 100% width */
    .ci-hero {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        padding: 0;
        border-radius: 14px;
        overflow: hidden;
    }

    .ci-hero-image {
        order: 1;
        width: 100%;
        min-width: 0;
        height: 240px;
        border-radius: 14px 14px 0 0;
        border: none;
    }

    .ci-hero-image .owl-carousel,
    .ci-hero-image .owl-stage-outer,
    .ci-hero-image .owl-stage,
    .ci-hero-image .owl-item,
    .ci-hero-image .item {
        width: 100%;
        height: 240px;
    }

    .ci-hero-image img {
        width: 100% !important;
        height: 240px !important;
        min-height: 240px;
        object-fit: cover;
        border-radius: 14px 14px 0 0;
    }

    .ci-hero-copy {
        order: 2;
        display: flex;
        flex-direction: column;
        background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
        margin-top: -24px;
        position: relative;
        z-index: 2;
        border-radius: 14px 14px 0 0;
        padding: 20px;
    }

    .ci-college-logo {
        width: 74px;
        min-height: 74px;
        padding: 8px;
        margin-top: -18px;
        border-radius: 10px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
        position: absolute;
        top: -18px;
    }

    .ci-hero-text h1 {
        font-size: 22px;
        margin-top: 32px;
    }

    .ci-hero-actions {
        flex-direction: column;
    }

    .ci-btn {
        width: 100%;
    }

    .ci-quick-facts {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .ci-fact {
        padding: 14px;
        align-items: center;
        text-align: center;
    }

    .ci-content-card,
    .ci-side-card {
        padding: 18px;
    }

    .ci-highlight-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile Gallery: 2 images per row */
    .ci-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .ci-gallery img {
        height: 130px;
    }

    .ci-bottom-inner {
        padding: 24px 20px;
        flex-direction: column;
        text-align: center;
    }

    .ci-bottom-inner a {
        width: 100%;
        text-align: center;
    }

    .ci-pg-table-wrap {
        border: none;
        background: transparent;
    }

    .ci-pg-table,
    .ci-pg-table tbody,
    .ci-pg-table tr,
    .ci-pg-table td {
        display: block;
        width: 100%;
    }

    .ci-pg-table thead {
        display: none;
    }

    .ci-pg-table tbody {
        display: grid;
        gap: 10px;
    }

    .ci-pg-table tr {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 4px 12px;
        align-items: center;
        padding: 12px 14px;
        background: var(--ci-blue-tint);
        border: 1px solid var(--ci-blue-border);
        border-radius: 10px;
    }

    .ci-pg-table tr:nth-child(even) {
        background: #fff8f9;
        border-color: var(--ci-red-border);
    }

    .ci-pg-table td {
        padding: 0;
        border: none;
        text-align: left !important;
    }

    .ci-pg-table td:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
        color: var(--ci-navy);
        font-size: 14px;
        font-weight: 600;
    }

    .ci-pg-table td:nth-child(2) {
        grid-column: 1;
        grid-row: 2;
        color: var(--ci-muted);
        font-size: 12px;
    }

    .ci-pg-table td:nth-child(2)::before {
        content: "Programme: ";
        font-weight: 500;
    }

    .ci-pg-table td:nth-child(3) {
        grid-column: 2;
        grid-row: 1 / span 2;
        display: flex;
        justify-content: flex-end;
    }
}

@media (max-width: 480px) {
    .ci-page-wrapper {
        overflow-x: hidden;
        width: 100%;
    }

    .ci-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .ci-gallery img {
        height: 115px;
    }

    .ci-side-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .ci-side-row b {
        text-align: left;
    }

    .ci-bottom-inner strong {
        font-size: 20px;
    }
}