@import url('styles.css');

/* Gallery Hover & Lightbox Styles */
.hover-opacity-100 {
    transition: opacity 0.3s ease-in-out;
}
.gallery-zoom-trigger:hover .hover-opacity-100 {
    opacity: 1 !important;
}
.gallery-zoom-trigger:hover img {
    transform: scale(1.06);
}
.campus-img-wrap img {
    transition: transform 0.4s ease-in-out;
}
.cursor-pointer {
    cursor: pointer !important;
}

/* Standalone Lightbox Overlay Styles */
.kc-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 11, 20, 0.95);
    z-index: 999999;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    backdrop-filter: blur(8px);
}
.kc-lightbox-overlay.d-none {
    display: none !important;
}
.kc-lightbox-header, .kc-lightbox-footer {
    z-index: 1000001;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.kc-lightbox-footer {
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: none;
}
.kc-lightbox-stage {
    flex: 1;
    width: 100%;
    height: calc(100vh - 110px);
}
.kc-lb-btn {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    cursor: pointer;
}
.kc-lb-btn:hover {
    background: #1fb2ee;
    color: #fff;
    transform: scale(1.08);
}
.kc-lb-close:hover {
    background: #dc3545;
}
.kc-lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000002;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
}
.kc-lb-nav:hover {
    background: #1fb2ee;
    color: #fff;
    border-color: #1fb2ee;
    transform: translateY(-50%) scale(1.1);
}
.kc-lb-prev { left: 20px; }
.kc-lb-next { right: 20px; }

#kcLbImage {
    max-height: 78vh;
    max-width: 90vw;
    object-fit: contain;
    transition: transform 0.2s ease-out;
    user-select: none;
    -webkit-user-drag: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}
.unselectable {
    user-select: none;
}

/* Admission Enquiry Overlay & Box Styles */
.kc-enquiry-overlay, #kcEnquiryModal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(5, 11, 20, 0.82) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    z-index: 999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
    padding: 1.25rem !important;
}

.kc-enquiry-overlay.active, #kcEnquiryModal.active,
.kc-enquiry-overlay.show, #kcEnquiryModal.show {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.kc-enquiry-box {
    background: #ffffff !important;
    border-radius: 24px !important;
    padding: 2.25rem !important;
    max-width: 520px !important;
    width: 100% !important;
    position: relative !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4) !important;
    transform: scale(0.88) translateY(20px) !important;
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    color: #1e293b !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
}

.kc-enquiry-overlay.active .kc-enquiry-box,
#kcEnquiryModal.active .kc-enquiry-box {
    transform: scale(1) translateY(0) !important;
}

.kc-enquiry-close {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: #f1f5f9 !important;
    color: #475569 !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.15rem !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    z-index: 10 !important;
}

.kc-enquiry-close:hover {
    background: #ef4444 !important;
    color: #ffffff !important;
    transform: rotate(90deg) scale(1.1) !important;
}

/* What We Do - Educational Pillars Section */
.pillars-section {
    background: #ffffff;
    padding: 90px 0;
}
.pillar-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 70px;
}
.pillar-row:last-child {
    margin-bottom: 0;
}
.pillar-row.reverse {
    direction: rtl;
}
.pillar-row.reverse .pillar-content {
    direction: ltr;
}
.pillar-img-box {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(11, 31, 58, 0.12);
    position: relative;
    height: 380px;
}
.pillar-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.pillar-img-box:hover img {
    transform: scale(1.08);
}
.pillar-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: rgba(11, 31, 58, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.pillar-row.reverse .pillar-badge {
    left: auto;
    right: 24px;
    direction: ltr;
}
.pillar-content {
    padding: 10px 0;
}
.pillar-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: #0b1f3a;
    margin-bottom: 18px;
    line-height: 1.15;
}
.pillar-desc {
    font-size: 1.08rem;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 28px;
}
.highlight-cyan {
    color: #1fb2ee;
}

@media (max-width: 991px) {
    .pillar-row, .pillar-row.reverse {
        grid-template-columns: 1fr;
        gap: 30px;
        direction: ltr !important;
    }
    .pillar-row.reverse .pillar-content {
        direction: ltr !important;
    }
    .pillar-img-box {
        height: 280px;
    }
    .pillar-title {
        font-size: 2.2rem;
    }
}

/* Floating AI Chat Widget & Footer Bottom Non-Overlap Layout */
.ai-chat-btn {
    position: fixed !important;
    bottom: 95px !important;
    left: 24px !important;
    z-index: 99990 !important;
}

.ai-chat-box {
    position: fixed !important;
    bottom: 160px !important;
    left: 24px !important;
    z-index: 99991 !important;
}

/* Mobile Bottom Navigation & Body Spacing */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: #0b1f3a;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    z-index: 99980;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 10px;
}

.mobile-bottom-nav .nav-item {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    transition: color 0.2s ease;
}

.mobile-bottom-nav .nav-item i {
    font-size: 1.15rem;
    margin-bottom: 3px;
}

.mobile-bottom-nav .nav-item.active,
.mobile-bottom-nav .nav-item:hover {
    color: #1fb2ee;
}

/* Right Side Floating Contact & WhatsApp Action Widgets */
.floating-actions, .kc-floating-actions, .aster-floating-actions {
    position: fixed !important;
    right: 24px !important;
    bottom: 95px !important;
    z-index: 99990 !important;
}

@media (max-width: 991px) {
    body {
        padding-bottom: 70px !important;
    }
    
    .floating-actions, .kc-floating-actions, .aster-floating-actions {
        right: 16px !important;
        bottom: 85px !important;
    }
    
    .ai-chat-btn {
        bottom: 80px !important;
        left: 16px !important;
        width: 48px !important;
        height: 48px !important;
        font-size: 1.15rem !important;
    }
    
    .ai-chat-box {
        bottom: 135px !important;
        left: 12px !important;
        max-width: 94vw !important;
    }
}
