/* ==========================================================================
    UNNAT BHARAT ABHIYAN (UBA) - PREMIUM DESIGN SYSTEM
   ========================================================================== */

:root {
    /* Sophisticated Theme Colors (Curated HSL) */
    --saffron-primary: hsl(24, 90%, 54%);       /* Terracotta/Saffron */
    --saffron-hover: hsl(24, 95%, 48%);
    --saffron-soft: hsl(24, 95%, 96%);
    
    --green-primary: hsl(152, 68%, 32%);       /* Deep Forest Emerald */
    --green-hover: hsl(152, 75%, 26%);
    --green-soft: hsl(152, 60%, 96%);
    
    --blue-primary: #1e3a8a;                    /* Deep Navy/Royal */
    --blue-hover: #172554;
    --blue-soft: #f0f3ff;
    
    --slate-dark: #0f172a;                      /* Dark Charcoal */
    --slate-light: #475569;                     /* Soft Muted Grey */
    --slate-bg: #f8fafc;                        /* Off-white */
    
    /* Layout Tokens */
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    --border-light: 1px solid rgba(226, 232, 240, 0.8);
    
    /* Modern Multi-layered Box Shadows */
    --shadow-card: 0 1px 3px rgba(15, 23, 42, 0.03), 
                  0 10px 30px -10px rgba(15, 23, 42, 0.06);
    --shadow-card-hover: 0 20px 40px -15px rgba(15, 23, 42, 0.12),
                        0 0 0 1px rgba(24, 110, 230, 0.05);
    --shadow-dropdown: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 
                       0 10px 10px -5px rgba(0, 0, 0, 0.03);
    
    /* Cubic Bezier Transition */
    --transition-premium: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
    BASE & TYPOGRAPHY POLISH
   ========================================================================== */
body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--slate-bg);
    color: var(--slate-dark);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--slate-dark);
    letter-spacing: -0.02em;
}

p {
    color: var(--slate-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.uba-section {
    margin-bottom: 70px;
}

/* Fade-in Animation utility */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ==========================================================================
    HERO CAROUSEL WITH BLEND MODES & FLOATING CAPTIONS
   ========================================================================== */
.slider-container {
    position: relative;
    width: 100%;
    height: 62vh;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-card);
    background: #000;
}

.slider {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide {
    flex: 0 0 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.slide-caption {
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.4) 60%, transparent 100%);
    color: white;
    width: 100%;
    padding: 60px 50px;
    text-align: left;
}

.slide-caption h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 38px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    animation: fadeInUp 0.6s ease-out;
}

.slide-caption p {
    font-family: 'Outfit', sans-serif;
    font-size: 19px;
    font-weight: 300;
    margin: 0;
    color: #cbd5e1;
    letter-spacing: 0.01em;
}

.slider-container button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    font-size: 20px;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-premium);
}

.slider-container button:hover {
    background: white;
    color: var(--saffron-primary);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.slider-container .prev { left: 25px; }
.slider-container .next { right: 25px; }

/* ==========================================================================
    PREMIUM SECTION TITLE BADGING
   ========================================================================== */
.badge-uba {
    display: inline-block;
    background: linear-gradient(135deg, var(--saffron-primary), var(--saffron-hover));
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.15em;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 15px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.18);
}

.uba-title {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--slate-dark);
}

.uba-subtitle {
    font-size: 20px;
    font-weight: 500;
    color: var(--slate-light);
}

.uba-tagline {
    font-size: 17px;
    font-style: italic;
    color: var(--green-primary);
    font-weight: 600;
    margin-top: 12px;
}

.saffron-green-divider {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    width: 180px;
    height: 5px;
}

.saffron-green-divider span {
    height: 100%;
}

.saffron-green-divider .orange-bar {
    width: 35%;
    background-color: var(--saffron-primary);
    border-radius: 4px 0 0 4px;
}

.saffron-green-divider .white-bar {
    width: 30%;
    background-color: #cbd5e1;
}

.saffron-green-divider .green-bar {
    width: 35%;
    background-color: var(--green-primary);
    border-radius: 0 4px 4px 0;
}

.section-title-wrap h2 {
    font-size: 30px;
    font-weight: 800;
    color: var(--slate-dark);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.section-title-wrap p {
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
    INTERACTIVE CARDS (GLASS EFFECT & GRADIENTS)
   ========================================================================== */
.uba-card {
    background: #ffffff;
    border: var(--border-light);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-card);
    transition: var(--transition-premium);
    overflow: hidden;
}

.uba-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(230, 126, 34, 0.25);
}

.card-icon-header i {
    font-size: 28px;
    line-height: 1;
}

.card-icon-header h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    color: var(--slate-dark);
}

.uba-card p {
    font-size: 15px;
    line-height: 1.75;
    color: var(--slate-light);
}

/* Vision Card (Special dark dynamic theme) */
.vision-card {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    border: none;
    position: relative;
}

.vision-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(230, 126, 34, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.vision-card .card-icon-header h2 {
    color: white;
}

.vision-quote {
    font-size: 17px;
    line-height: 1.7;
    font-weight: 500;
    font-style: italic;
    color: #e2e8f0;
    border-left: 3.5px solid var(--saffron-primary);
    padding-left: 18px;
    margin-top: 15px;
}

/* Mission List styling */
.mission-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mission-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.mission-list li i {
    color: var(--green-primary);
    font-size: 19px;
    margin-top: 1px;
    flex-shrink: 0;
}

.mission-list li span {
    font-size: 15px;
    color: var(--slate-light);
    font-weight: 500;
}

.btn-outline-custom {
    color: var(--slate-dark);
    border: 2px solid var(--slate-dark);
    font-weight: 600;
    font-size: 13.5px;
    padding: 10px 22px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-premium);
}

.btn-outline-custom:hover {
    background-color: var(--slate-dark);
    color: white;
    transform: translateY(-2px);
}

/* ==========================================================================
    ADOPTED VILLAGES SYSTEM (GRID & MICRO-PATTERNS)
   ========================================================================== */
.village-card {
    background: white;
    border-radius: var(--border-radius-md);
    padding: 30px 20px;
    box-shadow: var(--shadow-card);
    border: var(--border-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 100%;
    transition: var(--transition-premium);
}

.village-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--saffron-primary);
    transition: var(--transition-premium);
}

/* Alternate top colors for a more cohesive palette appearance */
.row > div:nth-child(2n) .village-card::before { background-color: var(--green-primary); }
.row > div:nth-child(3n) .village-card::before { background-color: var(--blue-primary); }

.village-card:hover {
    transform: translateY(-8px);
    border-color: rgba(39, 174, 96, 0.2);
    box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.1);
}

.village-card:hover::before {
    height: 6px;
}

.village-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background-color: var(--slate-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition-premium);
}

.village-icon i {
    font-size: 24px;
    color: var(--slate-light);
    transition: var(--transition-premium);
}

.village-card:hover .village-icon {
    background-color: var(--green-soft);
}

.village-card:hover .village-icon i {
    color: var(--green-primary);
    transform: scale(1.1);
}

.village-card h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--slate-dark);
    letter-spacing: -0.01em;
}

.village-badge {
    background-color: var(--slate-bg);
    color: var(--slate-light);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 30px;
    transition: var(--transition-premium);
}

.village-card:hover .village-badge {
    background-color: var(--green-soft);
    color: var(--green-primary);
}

/* ==========================================================================
    INTERACTIVE ACTIVITIES (SEGMENTED TABS & PANELS)
   ========================================================================== */
.tabs-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.activity-tabs {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: #f1f5f9;
    padding: 6px;
    border-radius: 14px;
    gap: 4px;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
}

.activity-tabs::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome/Safari */
}

.tab-btn {
    border: none;
    background: none;
    padding: 10px 22px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: var(--slate-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: var(--transition-premium);
}

.tab-btn i {
    font-size: 16px;
}

.tab-btn:hover {
    color: var(--slate-dark);
    background-color: rgba(255, 255, 255, 0.4);
}

.tab-btn.active {
    background-color: #ffffff;
    color: var(--saffron-primary);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.tab-content-wrapper {
    background: white;
    border-radius: var(--border-radius-lg);
    border: var(--border-light);
    box-shadow: var(--shadow-card);
    padding: 45px;
    position: relative;
    min-height: 380px;
}

.tab-content-panel {
    display: none;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-content-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.tab-info-block {
    padding-right: 20px;
}

.activity-icon-badge {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.tab-info-block h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--slate-dark);
}

.tab-info-block p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--slate-light);
    margin-bottom: 24px;
}

.activity-bullet-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.activity-bullet-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--slate-dark);
}

.activity-bullet-list li i {
    font-size: 13px;
    margin-top: 4px;
    flex-shrink: 0;
}

.tab-img {
    max-height: 320px;
    object-fit: cover;
    width: 100%;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-card);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-img:hover {
    transform: scale(1.02) rotate(0.5deg);
}

/* ==========================================================================
    STUDENT ENGAGEMENT & OBJECTIVES SPLIT PANEL
   ========================================================================== */
.bg-light-panel {
    background-color: white;
    border: var(--border-light);
    box-shadow: var(--shadow-card);
}

.badge-custom-light {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.1em;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--saffron-primary);
    margin-bottom: 8px;
}

.section-heading-in-box {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 18px;
    color: var(--slate-dark);
}

.lead-text {
    font-size: 15px;
    font-weight: 500;
    color: var(--slate-light);
    line-height: 1.7;
}

.fancy-bullet-list {
    list-style: none;
    padding-left: 0;
    margin: 25px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.fancy-bullet-list li {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.fancy-bullet-list li i {
    font-size: 18px;
    background: var(--slate-bg);
    color: var(--slate-dark);
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    border: var(--border-light);
    flex-shrink: 0;
    transition: var(--transition-premium);
}

.fancy-bullet-list li:hover i {
    background-color: var(--saffron-soft);
    color: var(--saffron-primary);
    transform: scale(1.05);
}

.fancy-bullet-list li div strong {
    font-size: 15.5px;
    color: var(--slate-dark);
    display: block;
    margin-bottom: 3px;
}

.fancy-bullet-list li div p {
    font-size: 13.5px;
    line-height: 1.45;
    margin: 0;
}

.border-start-lg {
    border-left: 1px solid rgba(226, 232, 240, 0.8);
}

.objective-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
}

.objective-card-mini {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--slate-bg);
    padding: 18px;
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(226, 232, 240, 0.6);
    transition: var(--transition-premium);
}

.objective-card-mini:hover {
    transform: translateX(6px);
    background: white;
    border-color: rgba(230, 126, 34, 0.2);
    box-shadow: var(--shadow-card);
}

.obj-num {
    background-color: rgba(230, 126, 34, 0.08);
    color: var(--saffron-primary);
    font-weight: 800;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
}

.obj-content strong {
    font-size: 14.5px;
    color: var(--slate-dark);
    display: block;
    margin-bottom: 3px;
}

.obj-content p {
    font-size: 12.5px;
    line-height: 1.4;
    margin: 0;
}

/* ==========================================================================
    CELL ORGANIZATION (EXECUTIVE TEAM profiles)
   ========================================================================== */
.team-card {
    background: white;
    border-radius: var(--border-radius-md);
    border: var(--border-light);
    box-shadow: var(--shadow-card);
    transition: var(--transition-premium);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.08);
}

.head-team-card {
    position: relative;
    border-top: 5px solid var(--saffron-primary);
}

.head-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--saffron-primary);
    color: white;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 16px;
    border-radius: 20px;
    letter-spacing: 0.08em;
    box-shadow: 0 4px 10px rgba(230, 126, 34, 0.3);
}

.team-avatar {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background-color: var(--saffron-soft);
    color: var(--saffron-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    transition: var(--transition-premium);
}

.team-card:hover .team-avatar {
    background-color: var(--saffron-primary);
    color: white;
}

.team-avatar-small {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background-color: var(--green-soft);
    color: var(--green-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    transition: var(--transition-premium);
}

.team-card:hover .team-avatar-small {
    background-color: var(--green-primary);
    color: white;
}

.team-card h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--slate-dark);
    margin-bottom: 4px;
}

.team-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--slate-dark);
    margin-bottom: 2px;
}

.team-designation {
    font-size: 14px;
    font-weight: 600;
}

.team-dept {
    font-size: 12.5px;
}

/* Student Badges */
.student-card {
    background: #ffffff;
    border-radius: var(--border-radius-md);
    border: var(--border-light);
    box-shadow: var(--shadow-card);
    transition: var(--transition-premium);
    height: 100%;
}

.student-card:hover {
    transform: translateY(-4px);
    border-color: rgba(52, 152, 219, 0.25);
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.06);
}

.student-icon {
    font-size: 28px;
    color: #3b82f6;
    transition: var(--transition-premium);
}

.student-card:hover .student-icon {
    transform: scale(1.12) rotate(10deg);
}

.student-card h5 {
    font-size: 13.5px;
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--slate-dark);
}

.student-info {
    font-size: 11px;
}

/* ==========================================================================
    GALLERY SECTION (MODERN PREMIUM CARDS WITH OVERLAYS)
   ========================================================================== */
.gallery-card-modern {
    background: white;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: var(--border-light);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition-premium);
}

.gallery-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.12);
    border-color: rgba(230, 126, 34, 0.2);
}

.gallery-img-wrap {
    width: 100%;
    height: 210px;
    overflow: hidden;
    position: relative;
    background-color: var(--slate-bg);
}

.gallery-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card-modern:hover .gallery-img-wrap img {
    transform: scale(1.08);
}

.gallery-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.gallery-tag {
    align-self: flex-start;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 10px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.gallery-body h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--slate-dark);
    line-height: 1.45;
}

.gallery-body p {
    font-size: 12.5px;
    color: var(--slate-light);
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
    CONTACT BLOCK & CTA BOARD
   ========================================================================== */
.contact-card-outer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.3);
    overflow: hidden;
}

.text-light-white {
    color: #94a3b8;
    font-size: 14.5px;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.icon-circle-bg {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.06);
    color: var(--saffron-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    flex-shrink: 0;
    transition: var(--transition-premium);
}

.contact-detail-item:hover .icon-circle-bg {
    background-color: var(--saffron-primary);
    color: white;
}

.contact-link {
    color: var(--saffron-primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-premium);
}

.contact-link:hover {
    color: white;
    text-decoration: underline;
}

.join-banner {
    border: 1px solid rgba(226, 232, 240, 0.4);
    box-shadow: 0 15px 35px -10px rgba(0,0,0,0.1);
}

.join-banner h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--slate-dark);
}

.join-banner p {
    font-size: 14.5px;
    font-style: italic;
    color: var(--green-primary);
    font-weight: 600;
}

.join-desc {
    font-size: 12.5px !important;
    line-height: 1.65;
    margin-bottom: 24px;
}

.btn-orange-filled {
    background-color: var(--saffron-primary);
    color: white;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: var(--border-radius-sm);
    border: none;
    box-shadow: 0 4px 14px rgba(230, 126, 34, 0.3);
    transition: var(--transition-premium);
}

.btn-orange-filled:hover {
    background-color: var(--saffron-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(230, 126, 34, 0.4);
}

/* ==========================================================================
    RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1200px) {
    .container,
    #wrapper,
    .slider-container {
        max-width: 95%;
    }
}

@media (max-width: 992px) {
    .border-start-lg {
        border-left: none;
        border-top: 1px solid rgba(226, 232, 240, 0.8);
        padding-top: 35px;
        margin-top: 15px;
    }
    
    .objectives-block {
        padding-left: 0 !important;
    }

    .slider-container {
        height: 52vh;
    }

    .slide-caption h2 {
        font-size: 30px;
    }

    .slide-caption p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .slider-container {
        height: 40vh;
        min-height: 280px;
    }
    
    .slide-caption {
        padding: 30px 20px;
    }

    .slide-caption h2 {
        font-size: 22px;
    }

    .slide-caption p {
        font-size: 13px;
    }

    .uba-title {
        font-size: 28px;
    }

    .tab-content-wrapper {
        padding: 24px 20px;
    }

    .tab-info-block {
        padding-right: 0;
    }

    .tab-img {
        margin-top: 20px;
    }
    
    .activity-tabs {
        width: 100%;
        display: flex;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 8px;
        background-color: #f1f5f9;
        border-radius: 12px;
        gap: 6px;
    }
    
    .tab-btn {
        flex: 0 0 auto;
        justify-content: center;
        padding: 8px 16px;
        font-size: 12.5px;
    }
}

@media (max-width: 576px) {
    /* === GLOBAL SPACING === */
    .uba-section {
        margin-bottom: 40px;
    }
    
    .hoc.container.clear {
        padding: 15px 10px;
    }

    .container,
    #wrapper {
        padding: 0 8px;
    }

    /* === HERO SLIDER === */
    .slider-container {
        height: 35vh;
        min-height: 240px;
        border-radius: var(--border-radius-sm);
    }

    .slider-container button {
        display: none !important;
    }

    .slide-caption {
        padding: 18px 14px;
    }

    .slide-caption h2 {
        font-size: 17px;
        margin-bottom: 4px;
        letter-spacing: 0.02em;
    }

    .slide-caption p {
        font-size: 11.5px;
        line-height: 1.4;
    }

    /* === BRANDING / HERO TEXT === */
    .uba-hero-text {
        margin-top: 25px !important;
        margin-bottom: 30px !important;
    }

    .badge-uba {
        font-size: 10px;
        padding: 5px 14px;
    }

    .uba-title {
        font-size: 24px;
    }

    .uba-subtitle {
        font-size: 15px;
    }

    .uba-tagline {
        font-size: 13px;
    }

    .saffron-green-divider {
        width: 120px;
    }

    /* === SECTION HEADERS === */
    .section-title-wrap h2 {
        font-size: 22px;
    }

    .section-title-wrap p {
        font-size: 13px;
        padding: 0 5px;
    }

    /* === ABOUT / VISION / MISSION CARDS === */
    .uba-card {
        border-radius: 12px;
    }

    .main-about-card {
        padding: 20px !important;
    }

    .card-icon-header i {
        font-size: 22px;
    }

    .card-icon-header h2 {
        font-size: 18px;
    }

    .uba-card p {
        font-size: 13.5px;
        line-height: 1.6;
    }

    .vision-card {
        padding: 20px !important;
    }

    .vision-quote {
        font-size: 14px;
        padding-left: 12px;
    }

    .mission-card {
        padding: 20px !important;
    }

    .mission-list li i {
        font-size: 16px;
    }

    .mission-list li span {
        font-size: 13.5px;
    }

    .btn-outline-custom {
        font-size: 12.5px;
        padding: 8px 16px;
        width: 100%;
        text-align: center;
    }

    /* === ADOPTED VILLAGES === */
    .village-card {
        padding: 16px 8px;
        border-radius: 10px;
    }

    .village-icon {
        width: 42px;
        height: 42px;
        margin-bottom: 10px;
    }

    .village-icon i {
        font-size: 16px;
    }

    .village-card h3 {
        font-size: 12.5px;
        margin-bottom: 6px;
    }

    .village-badge {
        font-size: 9.5px;
        padding: 2px 8px;
    }

    /* === ACTIVITY TABS === */
    .tabs-container {
        padding: 0;
    }

    .activity-tabs {
        width: 100%;
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 4px;
        padding: 5px;
        border-radius: 10px;
    }

    .tab-btn {
        flex: 0 0 auto;
        padding: 7px 12px;
        font-size: 11px;
        gap: 5px;
        border-radius: 8px;
    }

    .tab-btn i {
        font-size: 13px;
    }

    /* === ACTIVITY TAB CONTENT PANELS === */
    .tab-content-wrapper {
        padding: 16px 12px;
        border-radius: 12px;
        min-height: auto;
    }

    .activity-icon-badge {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        margin-bottom: 15px;
    }

    .activity-icon-badge i {
        font-size: 18px;
    }

    .tab-info-block h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .tab-info-block p {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .activity-bullet-list li {
        font-size: 12.5px;
        gap: 8px;
    }

    .activity-bullet-list li i {
        font-size: 10px;
    }

    .tab-img {
        max-height: 200px;
        border-radius: 10px;
        margin-top: 15px;
    }

    /* === STUDENT PARTICIPATION & OBJECTIVES === */
    .bg-light-panel {
        padding: 20px 15px !important;
        border-radius: 14px !important;
    }

    .section-heading-in-box {
        font-size: 20px;
    }

    .lead-text {
        font-size: 13px;
    }

    .fancy-bullet-list {
        gap: 15px;
        margin-top: 15px;
    }

    .fancy-bullet-list li {
        gap: 12px;
    }

    .fancy-bullet-list li i {
        width: 36px;
        height: 36px;
        font-size: 15px;
        border-radius: 8px;
    }

    .fancy-bullet-list li div strong {
        font-size: 13.5px;
    }

    .fancy-bullet-list li div p {
        font-size: 12px;
    }

    .objective-card-mini {
        padding: 14px;
        border-radius: 10px;
        gap: 12px;
    }

    .obj-num {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .obj-content strong {
        font-size: 13px;
    }

    .obj-content p {
        font-size: 11px;
    }

    /* === TEAM SECTION === */
    .subsection-title {
        font-size: 15px;
    }

    .team-card {
        padding: 15px 10px !important;
        border-radius: 12px;
    }

    .head-team-card {
        border-top-width: 4px;
    }

    .head-badge {
        font-size: 9px;
        padding: 3px 10px;
        top: -10px;
    }

    .team-avatar {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    .team-card h3 {
        font-size: 15px;
    }

    .team-designation {
        font-size: 12px;
    }

    .team-institution {
        font-size: 11px;
    }

    .team-avatar-small {
        width: 46px;
        height: 46px;
        font-size: 22px;
    }

    .team-card h4 {
        font-size: 12px;
    }

    .team-dept {
        font-size: 10.5px;
    }

    /* === STUDENT MEMBERS === */
    .student-card {
        padding: 12px 8px !important;
        border-radius: 10px;
    }

    .student-icon {
        font-size: 22px;
    }

    .student-card h5 {
        font-size: 11.5px;
    }

    .student-info {
        font-size: 9.5px;
    }

    /* === GALLERY CARDS === */
    .gallery-card-modern {
        border-radius: 10px;
    }

    .gallery-img-wrap {
        height: 130px;
    }

    .gallery-body {
        padding: 12px 10px;
    }

    .gallery-tag {
        font-size: 8px;
        padding: 2px 8px;
        margin-bottom: 8px;
    }

    .gallery-body h4 {
        font-size: 12.5px;
        margin-bottom: 5px;
    }

    .gallery-body p {
        font-size: 10.5px;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* === CONTACT BLOCK === */
    .contact-card-outer {
        padding: 24px 14px !important;
        border-radius: 14px;
    }

    .contact-info-block h2 {
        font-size: 20px;
        margin-bottom: 20px !important;
    }

    .contact-details-list {
        gap: 16px;
    }

    .contact-detail-item {
        gap: 12px;
    }

    .icon-circle-bg {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }

    .text-light-white {
        font-size: 12.5px;
    }

    .join-banner {
        padding: 20px 15px !important;
    }

    .join-banner h3 {
        font-size: 18px;
    }

    .join-banner p {
        font-size: 13px;
    }

    .heart-beat {
        font-size: 2.5rem !important;
    }

    .btn-orange-filled {
        font-size: 13px;
        padding: 10px 18px;
    }
}

/* ==========================================================================
    EXTRA SMALL DEVICES (max-width: 380px)
   ========================================================================== */
@media (max-width: 380px) {
    .uba-title {
        font-size: 21px;
    }

    .slide-caption h2 {
        font-size: 15px;
    }

    .village-card h3 {
        font-size: 11px;
    }

    .gallery-img-wrap {
        height: 110px;
    }

    .gallery-body h4 {
        font-size: 11px;
    }

    .gallery-body p {
        -webkit-line-clamp: 2;
    }

    .team-card h4 {
        font-size: 11px;
    }

    .student-card h5 {
        font-size: 10.5px;
    }
}
