.main-hero {
    position: relative;
    /* Professional Background Image from a reliable CDN (Campus/Library Vibe) */
    background-image: url('../images/college_building.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax Effect */
    min-height: 60vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dark gradient overlay for text readability */
    background: linear-gradient(135deg, rgba(0, 32, 64, 0.85) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

/* Glass effect for the outline button */
.backdrop-blur {
    backdrop-filter: blur(5px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.backdrop-blur:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Animation for the badge */
.tracking-widest {
    letter-spacing: 0.2rem;
    font-size: 0.75rem;
}
.list-group-item.active {
    background-color: #003366 !important; /* Parishkar Blue */
    border-color: #003366 !important;
}
.transition-up {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.transition-up:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175)!important;
}

.bg-soft-primary { background-color: #eef2ff; }
.bg-soft-success { background-color: #f0fdf4; }
.bg-soft-info { background-color: #f0f9ff; }
/* Card hover effect */
.job-card-creative {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.job-card-creative:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
}

/* Button hover growth */
.btn-hover-grow:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

/* Multi-line clamp for description */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Tracking for subtitle */
.tracking-wider {
    letter-spacing: 0.1em;
}

/* Base Card Container */
.premium-badge {
    width: 74mm;
    height: 105mm;
    background: #ffffff;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #e0e0e0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Background Design */
.top-accent {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 120px; /* Reduced to make room for content */
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    /*clip-path: polygon(0 0, 100% 0, 100% 65%, 0% 100%);*/
    z-index: 1;
}

.bg-pattern {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0.04;
    background-image: radial-gradient(#000 0.5px, transparent 0.5px);
    background-size: 8px 8px;
    z-index: 0;
}

/* Internal Layout */
.badge-inner { 
    position: relative; 
    z-index: 2; 
    padding: 12px; 
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: center;
}

/* Logo & Brand */
.badge-logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.brand-group {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 5px;
}

.college-logo-text { font-weight: 800; font-size: 11px; color: white; text-align: left; line-height: 1.1; }
.alumni-tag { font-size: 8px; color: #cbd5e1; font-weight: 600; letter-spacing: 1.5px; text-align: left; }

/* Profile Section */
.avatar-wrapper { position: relative; margin-top: 5px; }
.badge-photo { 
    width: 92px; height: 92px; 
    border-radius: 50%; 
    border: 3px solid white; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    object-fit: cover;
}

.verified-seal {
    position: absolute; bottom: 2px; right: calc(50% - 41px);
    background: #10b981; color: white;
    width: 20px; height: 20px; border-radius: 50%;
    font-size: 10px; display: flex; align-items: center; justify-content: center;
    border: 2px solid white;
}

.alumni-name { font-weight: 800; font-size: 14px; margin: 8px 0 2px; color: #1e293b; }
.member-id-pill {
    display: inline-block; background: #eff6ff; color: #1e40af;
    padding: 1px 10px; border-radius: 50px; font-size: 9px; font-weight: 700;
}

/* Info Grid */
.details-grid {
    display: flex; margin: 10px 2px;
    background: #f8fafc; border: 1px solid #f1f5f9; border-radius: 8px;
}
.detail-item { flex: 1; padding: 6px 2px; }
.detail-item .label { display: block; font-size: 7px; color: #64748b; font-weight: 700; text-transform: uppercase; text-align: center }
.detail-item .val { display: block; font-size: 9px; color: #0f172a; font-weight: 800; text-align: center }

/* QR Section - Flex-grow pushes this down */
.qr-section { 
    flex-grow: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 10px; /* Added padding to clear footer */
}

.qr-img { 
    width: 65px; height: 65px; 
    padding: 4px; background: white; 
    border-radius: 4px; border: 1px solid #f1f5f9;
}
.qr-note { font-size: 7px; color: #94a3b8; font-weight: 600; margin-top: 4px; }

/* Footer */
.badge-bottom {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: #1e293b; color: white;
    font-size: 8px; font-weight: 700; padding: 5px; text-align: center;
}
.contact-details {
    padding: 0 10px;
    margin-top: 5px;
}

.contact-item {
    font-size: 5.5px; /* Small but readable for print/image */
    color: white;
    font-weight: 100;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item i {
    color: #1e40af; /* Matches the theme blue */
    margin-right: 4px;
    font-size: 6px;
}

.address-text {
    line-height: 1.2;
    max-width: 180px;
    margin: 0 auto;
}
#printableBadge {
    background-color: white; 
    width: 74mm;
    height: 105mm;
}


.testimonial-slider .slick-dots li button:before {
    color: #f9fbfa; /* Success green to match your theme */
}
.testimonial-slider .slick-dots {
    bottom: -40px;
}
.transition-card {
    transition: transform 0.3s ease;
}
.transition-card:hover {
    transform: translateY(-5px);
}
/* Hide scrollbar during slider initialization */
.testimonial-slider:not(.slick-initialized) {
    display: flex;
    overflow: hidden;
}


.events-slider {
    padding-bottom: 40px;
}
.slick-prev, .slick-next {
    width: 40px;
    height: 40px;
    background: white !important;
    border-radius: 50%;
    z-index: 10;
}
.slick-prev:before, .slick-next:before {
    display: none; /* Hide default dots */
}
.slick-prev { left: -20px; }
.slick-next { right: -20px; }
.slick-dots li button:before {
    color: #0d6efd !important; /* Matches your primary color */
}



.glimpse-card {
    overflow: hidden;
    border-radius: 15px;
    transition: transform 0.3s ease;
    height: 250px; /* Fixed height for uniformity */
}
.glimpse-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}
.glimpse-card:hover img {
    transform: scale(1.1);
}
.custom-ctrl {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    opacity: 0.8;
}
.carousel-control-prev { left: -20px; }
.carousel-control-next { right: -20px; }
.tracking-widest { letter-spacing: 0.15rem; }


/* Split Card Styling */
.section-with-bg {
    background-image: url('https://parishkaralumni.in/public/uploads/alumni/campus_bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 0;
}

.bg-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(0, 20, 40, 0.95), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

/* Make the event card look ultra-modern */
.job-card-creative {
    border-radius: 10px !important;
    background: #ffffff;
}

.bg-soft-primary {
    background-color: rgba(13, 110, 253, 0.1);
}

.tracking-widest {
    letter-spacing: 3px;
}



.py-10 { padding: 100px 0; }

/* Process Diagram Styling */
.network-graph-container {
    border: 1px solid rgba(0,0,0,0.05);
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
}

.process-diagram {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    padding-left: 20px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
    z-index: 2;
    background: white;
    margin-bottom: 10px;
}

.step-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.step-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-connector {
    width: 2px;
    height: 40px;
    background: #e9ecef;
    margin-left: 24px;
    position: relative;
}

.step-connector::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #dee2e6;
}

.tracking-widest { letter-spacing: 0.2rem; }

.py-10 { padding: 80px 0; }

/* Image Wrapper with Depth */
.glimpse-wrapper {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f0f0f0;
}

.glimpse-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.main-img { height: 450px; }
.side-img { height: 213px; }

/* Hover Effects */
.glimpse-wrapper:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 32, 64, 0.15);
}

.glimpse-wrapper:hover .glimpse-img {
    transform: scale(1.1);
}

/* Overlay for badges */
.glimpse-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 2;
}

/* High-end Navigation Buttons */
.nav-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 1px solid #dee2e6;
    background: white;
    color: #003366;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-btn:hover {
    background: #003366;
    color: white;
    border-color: #003366;
    box-shadow: 0 10px 20px rgba(0, 51, 102, 0.2);
}

/* Animations */
.carousel-item {
    transition: transform 1s cubic-bezier(0.65, 0, 0.35, 1);
}
.carousel-inner{
    border-radius: 10px;
}

/* Print Handling */
@media print {
    body * { visibility: hidden; }
    #printableBadge, #printableBadge * { visibility: visible; }
    #printableBadge { 
        position: fixed; left: 0; top: 0; 
        width: 74mm; height: 105mm; 
        box-shadow: none !important; border: none !important;
    }
    @page { size: 74mm 105mm; margin: 0; }
}