/*--------------------------------------------------------------
# HOS Section - Government Website Style Infographic
--------------------------------------------------------------*/
.hos-section {
    background: linear-gradient(135deg, 
        #ffffff 0%, 
        #f8f9fa 25%, 
        #ffffff 50%,
        #f8f9fa 75%,
        #ffffff 100%);
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
    font-family: "poppins", "sans-serif";
}

.hos-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 10% 20%, rgba(255, 102, 0, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 80%, rgba(80, 79, 147, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.hos-section .container {
    position: relative;
    z-index: 1;
}

/* Media Section Heading - Same style as "WHY NIRIKHYANA IS NEEDED IN PURI" */
.hos-section .heading .hos-mainheading {
    position: relative;
    padding-bottom: 14px;
    margin-bottom: 25px;
    font-weight: 600;
    font-size: 40px;
    color: #1C2B78;
    text-align: center;
}

.hos-section .heading .hos-mainheading:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: rgb(255, 102, 0);
    border-radius: 3px;
}

.hos-section .heading .hos-mainheading:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(30px);
    width: 10px;
    height: 3px;
    background-color: #504f93;
    border-radius: 3px;
}

/* Left Column - Text Content */
.hos-text-content {
    padding-right: 2rem;
}

.hos-main-heading {
    font-size: 42px;
    font-weight: 800;
    color: #1C2B78;
    margin-bottom: 10px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.hos-sub-heading {
    font-size: 32px;
    font-weight: 700;
    color: #FF6600;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.hos-description {
    font-size: 16px;
    line-height: 1.8;
    color: #212529;
    margin-bottom: 2rem;
    text-align: justify;
}

/* Mission and Vision Items */
.hos-mission-vision-item {
    background: linear-gradient(135deg, 
        #ffffff 0%, 
        #fffef9 50%,
        #ffffff 100%);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.25rem;
    border-left: 5px solid transparent;
    border-top: 1px solid rgba(255, 102, 0, 0.1);
    border-right: 1px solid rgba(255, 102, 0, 0.05);
    border-bottom: 1px solid rgba(255, 102, 0, 0.05);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.08),
        0 2px 6px rgba(255, 102, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.hos-mission-vision-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 102, 0, 0.05) 0%, rgba(80, 79, 147, 0.05) 100%);
    transition: width 0.4s ease;
    z-index: 0;
}

.hos-mission-vision-item:hover::before {
    width: 100%;
}

.mission-item {
    border-left-color: #FF6600;
    background: linear-gradient(135deg, 
        #ffffff 0%, 
        rgba(255, 102, 0, 0.02) 50%,
        #ffffff 100%);
}

.vision-item {
    border-left-color: #504f93;
    background: linear-gradient(135deg, 
        #ffffff 0%, 
        rgba(80, 79, 147, 0.02) 50%,
        #ffffff 100%);
}

.mission-item:hover {
    background: linear-gradient(135deg, 
        #ffffff 0%, 
        rgba(255, 102, 0, 0.05) 50%,
        #ffffff 100%);
}

.vision-item:hover {
    background: linear-gradient(135deg, 
        #ffffff 0%, 
        rgba(80, 79, 147, 0.05) 50%,
        #ffffff 100%);
}

.hos-mission-vision-item:hover {
    transform: translateX(8px) translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.12),
        0 3px 12px rgba(255, 102, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    border-left-width: 6px;
}

.hos-mv-header {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: 0.875rem;
    position: relative;
    z-index: 1;
}

.hos-mv-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.2),
        0 2px 6px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
    position: relative;
}

.hos-mv-icon::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 12px;
    background: inherit;
    opacity: 0.15;
    z-index: -1;
    animation: iconGlow 2.5s ease-in-out infinite alternate;
}

@keyframes iconGlow {
    0% {
        transform: scale(1);
        opacity: 0.15;
    }
    100% {
        transform: scale(1.08);
        opacity: 0.08;
    }
}

.mission-icon {
    background: linear-gradient(135deg, #FF6600 0%, #FF8A3D 100%);
}

.vision-icon {
    background: linear-gradient(135deg, #504f93 0%, #6760C2 100%);
}

.hos-mission-vision-item:hover .hos-mv-icon {
    transform: scale(1.12) rotate(5deg);
    box-shadow: 
        0 6px 18px rgba(0, 0, 0, 0.25),
        0 3px 10px rgba(0, 0, 0, 0.2);
}

.hos-mission-vision-item:hover .mission-icon {
    background: linear-gradient(135deg, #504f93 0%, #FF6600 100%);
}

.hos-mission-vision-item:hover .vision-icon {
    background: linear-gradient(135deg, #FF6600 0%, #504f93 100%);
}

.hos-mission-vision-item:hover .mission-icon {
    background: linear-gradient(135deg, #504f93 0%, #FF6600 100%);
}

.hos-mission-vision-item:hover .vision-icon {
    background: linear-gradient(135deg, #FF6600 0%, #504f93 100%);
}

.hos-mv-title {
    font-size: 19px;
    font-weight: 700;
    color: #1C2B78;
    margin: 0;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.hos-mission-vision-item:hover .hos-mv-title {
    color: #FF6600;
}

.hos-mv-description {
    font-size: 14px;
    line-height: 1.7;
    color: #212529;
    margin: 0;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
    font-weight: 500;
    padding-left: 0.75rem;
    border-left: 3px solid rgba(255, 102, 0, 0.25);
    margin-left: 0.5rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.hos-mission-vision-item:hover .hos-mv-description {
    border-left-color: rgba(255, 102, 0, 0.5);
    color: #1C2B78;
    padding-left: 0.875rem;
}

.hos-know-more-btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    background: #FF6600;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

.hos-know-more-btn:hover {
    background: #e65c00;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
}

.hos-know-more-btn i {
    transition: transform 0.3s ease;
}

.hos-know-more-btn:hover i {
    transform: translateX(5px);
}

/* Right Column - Infographic Grid */
.hos-infographic-grid-wrapper {
    position: relative;
}

.hos-main-image {
    width: 100%;
    height: 280px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    position: relative;
}

.hos-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hos-main-image:hover img {
    transform: scale(1.05);
}

/* Grid Container */
.hos-grid-container {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 2rem;
    min-height: 400px;
}

/* Central Overlapping Icon */
.hos-central-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #FF6600 0%, #504f93 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #ffffff;
    z-index: 10;
    box-shadow: 
        0 10px 30px rgba(255, 102, 0, 0.4),
        0 0 0 8px rgba(255, 255, 255, 0.9),
        0 0 0 12px rgba(255, 102, 0, 0.1);
    animation: pulseIcon 3s ease-in-out infinite;
}

@keyframes pulseIcon {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 
            0 10px 30px rgba(255, 102, 0, 0.4),
            0 0 0 8px rgba(255, 255, 255, 0.9),
            0 0 0 12px rgba(255, 102, 0, 0.1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
        box-shadow: 
            0 15px 40px rgba(255, 102, 0, 0.5),
            0 0 0 10px rgba(255, 255, 255, 0.9),
            0 0 0 16px rgba(255, 102, 0, 0.15);
    }
}

/* Grid Boxes */
.hos-grid-box {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    min-height: 160px;
}

.hos-grid-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.hos-grid-box:hover::before {
    opacity: 1;
}

.hos-grid-box:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 102, 0, 0.3);
}

/* Box Colors */
.box-1 {
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
}

.box-1::before {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.1) 0%, rgba(33, 150, 243, 0.05) 100%);
}

.box-1 .hos-box-icon {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
}

.box-2 {
    background: linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 100%);
}

.box-2::before {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.1) 0%, rgba(255, 152, 0, 0.05) 100%);
}

.box-2 .hos-box-icon {
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
}

.box-3 {
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
}

.box-3::before {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(76, 175, 80, 0.05) 100%);
}

.box-3 .hos-box-icon {
    background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
}

.box-4 {
    background: linear-gradient(135deg, #FCE4EC 0%, #F8BBD0 100%);
}

.box-4::before {
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.1) 0%, rgba(233, 30, 99, 0.05) 100%);
}

.box-4 .hos-box-icon {
    background: linear-gradient(135deg, #E91E63 0%, #C2185B 100%);
}

/* Box Icon */
.hos-box-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #ffffff;
    margin-bottom: 1rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.hos-grid-box:hover .hos-box-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Box Text */
.hos-box-text {
    font-size: 15px;
    font-weight: 600;
    color: #1C2B78;
    margin: 0;
    line-height: 1.4;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.hos-grid-box:hover .hos-box-text {
    color: #FF6600;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hos-section {
        padding: 4rem 0;
    }
    
    .hos-text-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }
    
    .hos-section .heading .hos-mainheading {
        font-size: 36px;
    }
    
    .hos-main-heading {
        font-size: 36px;
    }
    
    .hos-sub-heading {
        font-size: 28px;
    }
    
    .hos-mission-vision-item {
        padding: 1rem 1.125rem;
        margin-bottom: 1rem;
    }
    
    .hos-mv-header {
        gap: 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .hos-mv-icon {
        width: 42px;
        height: 42px;
        font-size: 20px;
    }
    
    .hos-mv-title {
        font-size: 17px;
    }
    
    .hos-mv-description {
        font-size: 13px;
        padding-left: 0.625rem;
        margin-left: 0.375rem;
    }
    
    .hos-grid-container {
        padding: 1.5rem;
        min-height: 350px;
    }
    
    .hos-central-icon {
        width: 90px;
        height: 90px;
        font-size: 42px;
    }
    
    .hos-grid-box {
        min-height: 140px;
        padding: 1.5rem 1.25rem;
    }
    
    .hos-box-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .hos-section {
        padding: 3rem 0;
    }
    
    .hos-section .heading .hos-mainheading {
        font-size: 30px;
    }
    
    .hos-main-heading {
        font-size: 30px;
    }
    
    .hos-sub-heading {
        font-size: 24px;
    }
    
    .hos-description {
        font-size: 15px;
    }
    
    .hos-mission-vision-item {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .hos-mv-header {
        gap: 0.625rem;
        margin-bottom: 0.625rem;
    }
    
    .hos-mv-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .hos-mv-title {
        font-size: 16px;
    }
    
    .hos-mv-description {
        font-size: 12px;
        padding-left: 0.5rem;
        margin-left: 0.25rem;
    }
    
    .hos-main-image {
        height: 220px;
        margin-bottom: 1.5rem;
    }
    
    .hos-grid-container {
        gap: 1rem;
        padding: 1.25rem;
        min-height: 320px;
    }
    
    .hos-central-icon {
        width: 80px;
        height: 80px;
        font-size: 36px;
        box-shadow: 
            0 8px 25px rgba(255, 102, 0, 0.4),
            0 0 0 6px rgba(255, 255, 255, 0.9),
            0 0 0 10px rgba(255, 102, 0, 0.1);
    }
    
    .hos-grid-box {
        min-height: 120px;
        padding: 1.25rem 1rem;
    }
    
    .hos-box-icon {
        width: 55px;
        height: 55px;
        font-size: 26px;
        margin-bottom: 0.75rem;
    }
    
    .hos-box-text {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .hos-section .heading .hos-mainheading {
        font-size: 26px;
    }
    
    .hos-main-heading {
        font-size: 26px;
    }
    
    .hos-sub-heading {
        font-size: 20px;
    }
    
    .hos-know-more-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .hos-main-image {
        height: 180px;
    }
    
    .hos-grid-container {
        gap: 0.75rem;
        padding: 1rem;
        min-height: 280px;
    }
    
    .hos-central-icon {
        width: 70px;
        height: 70px;
        font-size: 32px;
        box-shadow: 
            0 6px 20px rgba(255, 102, 0, 0.4),
            0 0 0 5px rgba(255, 255, 255, 0.9),
            0 0 0 8px rgba(255, 102, 0, 0.1);
    }
    
    .hos-grid-box {
        min-height: 110px;
        padding: 1rem 0.75rem;
    }
    
    .hos-box-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
        margin-bottom: 0.5rem;
    }
    
    .hos-box-text {
        font-size: 12px;
    }
}
/* Collapsible Content */
.hos-collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.4s ease;
    opacity: 0;
    margin-left: 0.5rem;
}

.hos-mission-vision-item.active .hos-collapsible-content {
    max-height: 500px; /* enough for list */
    opacity: 1;
    margin-top: 0.75rem;
}

/* List Styling */
.hos-mv-list {
    padding-left: 1.25rem;
    margin: 0;
    list-style: none; /* Remove default bullet so only the tick icon shows */
}

.hos-mv-list li {
    font-size: 14px;
    color: #1C2B78;
    line-height: 1.6;
    margin-bottom: 6px;
    position: relative;
}

.hos-mv-list li::before {
    content: "✔";
    position: absolute;
    left: -1.25rem;
    color: #FF6600;
    font-size: 12px;
}

/* Toggle Button */
.hos-toggle-btn {
    margin-top: 0.75rem;
    background: transparent;
    border: none;
    color: #FF6600;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding-left: 0.5rem;
    transition: color 0.3s ease;
    position: relative;
    z-index: 10;
    pointer-events: auto;
    -webkit-user-select: none;
    user-select: none;
}

.hos-toggle-btn i {
    transition: transform 0.3s ease;
}

.hos-mission-vision-item.active .hos-toggle-btn i {
    transform: rotate(180deg);
}

.hos-toggle-btn:hover {
    color: #1C2B78;
}

