
/*** Centre for one health -Kerala styles ***/

 /* Modern About Us Section Styles */
    .about-card {
        border: 1px solid rgba(0, 86, 179, 0.1);
        background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(240,248,255,0.95) 100%);
        backdrop-filter: blur(5px);
        box-shadow: 0 10px 30px rgba(0, 86, 179, 0.1);
        overflow: hidden;
        position: relative;
    }
    
    .about-card::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100px;
        height: 100px;
        background: radial-gradient(circle, rgba(0,86,179,0.1) 0%, rgba(0,86,179,0) 70%);
        z-index: 0;
    }
    
    .bg-light-blue {
        background-color: #f0f8ff;
        background: linear-gradient(to bottom right, #f5fbff, #e6f2ff);
    }
    
    .bg-light-green {
        background-color: #f0fff4;
    }
    
    .text-dark-green {
        color: #2e8b57;
    }
    
    .icon-box {
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        transition: all 0.3s ease;
    }
    
    .vision-mission .icon-box {
        box-shadow: 0 5px 15px rgba(0,86,179,0.2);
    }
    
    .bullet-point {
        width: 28px;
        height: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        flex-shrink: 0;
    }
    
    .responsibility-card {
        transition: all 0.3s ease;
        border-bottom: 3px solid transparent;
        position: relative;
        overflow: hidden;
    }
    
    .responsibility-card::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(0,86,179,0.05) 0%, rgba(0,86,179,0) 100%);
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .responsibility-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0,86,179,0.15) !important;
        border-bottom-color: #0056b3;
    }
    
    .responsibility-card:hover::after {
        opacity: 1;
    }
    
    .responsibility-card:hover .icon-box {
        transform: scale(1.1);
        box-shadow: 0 8px 20px rgba(0,86,179,0.3);
    }
    
    .belief-box {
        border-left: 4px solid #0056b3;
        background: linear-gradient(to right, rgba(0,86,179,0.05) 0%, rgba(0,86,179,0) 100%);
        position: relative;
    }
    
    .belief-box::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100px;
        height: 100px;
        background: radial-gradient(circle, rgba(0,86,179,0.1) 0%, rgba(0,86,179,0) 70%);
    }
    
    .section-header h3:after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 3px;
        background: linear-gradient(to right, #0056b3, #4da1ff);
        border-radius: 3px;
    }
    
    /* Vision & Mission Specific Styles */
    .vision-box, .mission-box {
        transition: all 0.4s ease;
        border: 1px solid rgba(0,86,179,0.1);
    }
    
    .vision-box:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(0,86,179,0.1);
        border-color: rgba(0,86,179,0.2);
    }
    
    .mission-box:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(46,139,87,0.1);
        border-color: rgba(46,139,87,0.2);
    }
    
    .vision-box h4 {
        color: #0056b3;
    }
    
    .mission-box h4 {
        color: #2e8b57;
    }
    
    .vision-box .icon-box {
        background: linear-gradient(135deg, #0056b3, #4da1ff);
    }
    
    .mission-box .icon-box {
        background: linear-gradient(135deg, #2e8b57, #5cb85c);
    }
    
    /* Structure Section Styles */
    .structure-section {
        padding: 60px 0;
        background-color: #f9fbfe;
        position: relative;
        overflow: hidden;
    }
    
    .structure-section::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 300px;
        height: 300px;
        background: radial-gradient(circle, rgba(0,86,179,0.05) 0%, rgba(0,86,179,0) 70%);
    }
    
    .structure-header .section-title {
        color: #0056b3;
        font-size: 2.2rem;
        margin-bottom: 15px;
        position: relative;
        display: inline-block;
        font-weight: 600;
    }
    
    .structure-header .section-title:after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 3px;
        background: linear-gradient(to right, #0056b3, #4da1ff);
        border-radius: 3px;
    }
    
    .structure-header .section-subtitle {
        color: #555;
        font-size: 1.1rem;
        max-width: 700px;
        margin: 0 auto;
    }
    
    .structure-timeline {
        position: relative;
        max-width: 900px;
        margin: 50px auto 0;
        padding: 0 20px;
    }
    
    .structure-timeline::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        width: 3px;
        background: linear-gradient(to bottom, #0056b3, #4da1ff);
        transform: translateX(-50%);
        z-index: 1;
    }
    
    .structure-level {
        position: relative;
        margin-bottom: 40px;
        z-index: 2;
    }
    
    .level-card {
        position: relative;
        width: 46%;
        padding: 25px;
        background: white;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 86, 179, 0.1);
        transition: all 0.3s ease;
        border: 1px solid rgba(0,86,179,0.1);
    }
    
    .level-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0, 86, 179, 0.15);
        border-color: rgba(0,86,179,0.2);
    }
    
    .structure-level:nth-child(odd) .level-card {
        left: 0;
    }
    
    .structure-level:nth-child(even) .level-card {
        left: 54%;
    }
    
    .level-icon {
        position: absolute;
        top: -20px;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background: linear-gradient(135deg, #0056b3, #4da1ff);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3);
        transition: all 0.3s ease;
    }
    
    .level-card:hover .level-icon {
        transform: scale(1.1) rotate(5deg);
        box-shadow: 0 8px 25px rgba(0, 86, 179, 0.4);
    }
    
    .structure-level:nth-child(odd) .level-icon {
        right: -30px;
    }
    
    .structure-level:nth-child(even) .level-icon {
        left: -30px;
    }
    
    .level-content h3 {
        color: #0056b3;
        margin-bottom: 15px;
        font-size: 1.3rem;
        font-weight: 600;
    }
    
    .level-content p {
        color: #555;
        line-height: 1.6;
    }
    
    .level-connector {
        position: absolute;
        top: 50%;
        width: 30px;
        height: 2px;
        background: #4da1ff;
    }
    
    .structure-level:nth-child(odd) .level-connector {
        right: -30px;
    }
    
    .structure-level:nth-child(even) .level-connector {
        left: -30px;
    }
    
    /* Responsive Design */
    @media (max-width: 768px) {
        .structure-timeline::before {
            left: 30px;
        }
    
        .level-card {
            width: calc(100% - 90px);
            left: 60px !important;
        }
    
        .level-icon {
            left: -30px !important;
            right: auto !important;
        }
    
        .level-connector {
            display: none;
        }
    }
    
    @media (max-width: 576px) {
        .structure-header .section-title {
            font-size: 1.8rem;
        }
    
        .level-card {
            width: calc(100% - 60px);
            padding: 20px;
        }
    
        .level-content h3 {
            font-size: 1.1rem;
        }
    }
    
    /* About Intro Animation */
    .about-intro {
        position: relative;
        overflow: hidden;
    }
    
    .about-intro::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background: linear-gradient(to right, #0056b3, #4da1ff);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.5s ease;
    }
    
    .about-intro:hover::after {
        transform: scaleX(1);
    }
    
    /* Objectives Section */
    .d-flex.align-items-start {
        padding: 20px;
        border-radius: 10px;
        transition: all 0.3s ease;
        background: white;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        height: 100%;
    }
    
    .d-flex.align-items-start:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,86,179,0.1);
    }
    
    .d-flex.align-items-start img {
        transition: all 0.3s ease;
    }
    
    .d-flex.align-items-start:hover img {
        transform: scale(1.1);
    }


    /* Functional Areas Styles */
    .functional-area-card {
        transition: all 0.3s ease;
        border: 1px solid rgba(0, 86, 179, 0.1);
        box-shadow: 0 5px 15px rgba(0, 86, 179, 0.05);
        position: relative;
        overflow: hidden;
    }
    
    .functional-area-card::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(to right, #0056b3, #4da1ff);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.3s ease;
    }
    
    .functional-area-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 86, 179, 0.15);
    }
    
    .functional-area-card:hover::before {
        transform: scaleX(1);
    }
    
    .functional-icon {
        width: 80px;
        height: 80px;
        transition: all 0.3s ease;
        background: linear-gradient(135deg, rgba(0, 86, 179, 0.1) 0%, rgba(77, 161, 255, 0.1) 100%) !important;
    }
    
    .functional-area-card:hover .functional-icon {
        transform: rotate(5deg) scale(1.1);
        background: linear-gradient(135deg, #0056b3, #4da1ff) !important;
    }
    
    .functional-area-card:hover .functional-icon i {
        color: white !important;
    }
    
    @media (max-width: 768px) {
        .functional-icon {
            width: 70px;
            height: 70px;
        }
        
        .functional-icon i {
            font-size: 1.5rem !important;
        }
    }
/* Functional Components Diagram Styles */
    .container1 {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
      max-width: 1200px;
      margin: 0 auto;
    }

    .row1 {
      display: flex;
      justify-content: center;
      gap: 20px;
      margin-bottom: 10px;
      flex-wrap: wrap;
      width: 100%;
      position: relative;
    }

    .box {
      width: 200px;
      min-height: 50px;
      background: #fff;
      border-left: 5px solid #3498db;
      border-radius: 8px;
      padding: 20px;
      text-align: center;
      font-size: 14px;
      font-weight: 500;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      transition: all 0.3s ease;
      display: flex;
      flex-direction: column;
      justify-content: center;
      position: relative;
    }

    .box:hover {
      transform: translateY(-5px);
      box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    }

    /* Horizontal arrow image for first row */
    .row1:first-of-type .box:not(:last-child)::after {
      content: "";
      position: absolute;
      right: -30px;
      top: 50%;
      transform: translateY(-50%);
      width: 24px;
      height: 24px;
      background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%233498db"><path d="M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"/></svg>') no-repeat center center;
      background-size: contain;
      padding: 0 10px;
      border-radius: 50%;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
      animation: pulse 2s infinite;
      z-index: 1;
    }

    /* Vertical arrow image */
    .vertical-connector {
      position: absolute;
      bottom: -45px;
      left: 40%;
      transform: translateX(-50%);
      width: 24px;
      height: 24px;
      background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%233498db"><path d="M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z"/></svg>') no-repeat center center;
      background-size: contain;
      padding: 0 10px;
      border-radius: 50%;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
      animation: pulse 2s infinite;
      z-index: 1;
    }

    .orange {
      border-left-color: #e67e22;
      background-color: #fff9f2;
    }
    
    .blue1 {
      border-left-color: #3498db;
      background-color: #f0f8ff;
    }

    @media (max-width: 1000px) {
      .row {
        flex-direction: column;
        align-items: center;
        gap: 40px;
      }

      .box {
        width: 80%;
      }

      .row1:first-of-type .box::after, .vertical-connector {
        display: none;
      }
    }

    @keyframes pulse {
      0% { transform: translateY(-50%) scale(1); }
      50% { transform: translateY(-50%) scale(1.1); }
      100% { transform: translateY(-50%) scale(1); }
    }
    /* organizational chart  */

    

     .org-chart {
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        
        .level {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-bottom: 15px;
            position: relative;
            width: 100%;
        }
        
        .node {
            background: rgb(184, 235, 248);
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            padding: 12px 18px;
            text-align: center;
            position: relative;
            transition: all 0.3s ease;
            border-left: 4px solid #0056b3;
            margin-bottom: 5px;
        }
        
        .node.main {
            width: 85%;
            max-width: 500px;
        }
        
        .node:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 12px rgba(0,0,0,0.15);
            background: #f0f8ff;
        }
        
        .node h3 {
            margin: 0;
            color: #0056b3;
            font-size: 17px;
            line-height: 1.3;
        }
        
        .node p {
            margin: 4px 0 0;
            color: #666;
            font-size: 13px;
            line-height: 1.3;
        }
        
        .arrow {
            height: 25px;
            width: 25px;
            position: relative;
            margin: 3px 0;
        }
        
        .arrow img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }
        
        .horizontal-level {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            width: 100%;
            margin: 10px 0;
            position: relative;
        }
        
        .horizontal-arrow {
            position: absolute;
            height: 25px;
            width: 25px;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) rotate(90deg);
        }
        
        .horizontal-arrow img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }
        
        .sub-units-container {
            display: flex;
            justify-content: center;
            width: 100%;
            margin-top: 15px;
        }
        
        .sub-units-row {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            width: 100%;
            max-width: 2000px;
            position: relative;
        }
        
        /* Connector line above the units */
        .units-connector {
            position: absolute;
            top: -15px;
            left: 0;
            right: 0;
            height: 2px;
            background: #0056b3;
            z-index: 1;
        }
        
        .sub-unit {
            background: #e6f2e6;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            padding: 10px 15px;
            margin: 0 5px 15px;
            text-align: center;
            min-width: 160px;
            max-width: 250px;
            transition: all 0.3s ease;
            border-left: 4px solid #2e8b57;
            position: relative;
            flex: 1;
            z-index: 2;
        }
        
        .sub-unit-connector {
            position: absolute;
            top: -15px;
            left: 50%;
            width: 2px;
            height: 15px;
            background: #0056b3;
            transform: translateX(-50%);
            z-index: 2;
        }
        
        .kmu-staff {
            display: flex;
            flex-direction: column;
            gap: 40px;
            margin-top: 20px;
            position: relative;
        }
        
        .kmu-staff-node {
            background: #f2e6d9;
            border-left: 4px solid #d2691e;
            font-size: 12px;
            padding: 8px 10px;
            border-radius: 6px;
            position: relative;
        }
        
        .kmu-staff-connector {
            position: absolute;
            top: -20px;
            left: 50%;
            transform: translateX(-50%);
            width: 2px;
            height: 20px;
            background: #0056b3;
        }
        
        .sub-node {
            background: #fbe8d3;
            border-left: 4px solid #cc7a00;
            margin-top: 10px;
            padding: 6px;
            font-size: 13px;
            border-radius: 4px;
        }
        
        .horizontal-subnodes {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-top: 10px;
        }
        
        .spmu-box {
            border: 2px solid #0056b3;
            border-radius: 10px;
            padding: 20px;
            margin: 30px 0;
            background-color: #f8fbff;
            position: relative;
        }
        
        .spmu-label {
            position: absolute;
            top: -14px;
            left: 20px;
            background: #0056b3;
            color: white;
            padding: 2px 12px;
            font-weight: bold;
            border-radius: 5px;
            font-size: 14px;
        }
        
        .connection-line {
            height: 30px;
            width: 100%;
            position: relative;
        }
        
        .connection-horizontal {
            height: 2px;
            background: #0056b3;
            width: 60%;
            margin: 0 auto;
            position: relative;
        }
        
        .connection-vertical {
            height: 20px;
            width: 2px;
            background: #0056b3;
            position: absolute;
            top: 100%;
        }
        
        @media (max-width: 900px) {
            .sub-units-row {
                flex-direction: column;
                align-items: center;
            }
            
            .sub-unit {
                margin-bottom: 10px;
                width: 80%;
                max-width: none;
                position: relative;
                text-align: center;
                margin-bottom: 40px;
            }
            
            .node.main {
                width: 92%;
                padding: 10px 12px;
            }
            
            .node h3 {
                font-size: 15px;
            }
            
            .node p {
                font-size: 12px;
            }
            
            .arrow {
                height: 20px;
            }
            
            .horizontal-level {
                flex-direction: column;
                align-items: center;
            }
            
            .horizontal-arrow {
                display: none;
            }
            
            .units-connector {
                display: none;
            }
            
            .sub-unit-connector {
                display: none;
            }
        }



