/* ================== Base Reset ================== */
* { margin:0; padding:0; box-sizing:border-box; font-family:'Arial',sans-serif;}
body { line-height:1.6; color:#333; background:#f8f9fa; }

/* ================== Hero Carousel ================== */
.split-hero { display:flex; flex-wrap:wrap; min-height:80vh; background:#eef2f7;}
.split-container { display:flex; flex-wrap:wrap; width:100%; }
.split-text-side, .split-image-side { flex:1; min-width:300px; display:flex; align-items:center; justify-content:center; padding:40px;}
.split-text-side .text-content { max-width:500px; }
.split-text-side .top-label { font-weight:600; color:#4f46e5; font-size:16px; text-transform:uppercase; margin-bottom:10px;}
.split-text-side h1 { font-size:38px; margin-bottom:15px; line-height:1.2; color:#1f2937; }
.split-text-side h1 span { color:#4f46e5; }
.split-text-side p { font-size:16px; color:#4b5563; margin-bottom:20px; }
.split-stats { display:flex; gap:20px; margin-top:20px; }
.split-stats .stat-item { background:#fff; padding:10px 20px; border-radius:8px; font-weight:700; box-shadow:0 4px 8px rgba(0,0,0,0.05); transition:transform 0.3s; }
.split-stats .stat-item:hover { transform:translateY(-3px); }

/* ================== Image Side ================== */
.split-image-side { position:relative; overflow:hidden; max-height:500px; border-radius:10px;margin-top:2%; }
.split-image-side .split-slide { position:absolute; top:0; left:0; width:100%; height:100%; opacity:0; transition: opacity 1s ease-in-out; }
.split-image-side .split-slide.active { opacity:1; }
.split-image-side img { width:100%; height:100%; object-fit:cover; }
.carousel-progress { position:absolute; bottom:0; left:0; width:100%; height:5px; background:rgba(255,255,255,0.3); border-radius:5px; }
.carousel-progress .progress-bar { width:0%; height:100%; background:#4f46e5; transition: width 5s linear; border-radius:5px; }

/* ================== VMV Section ================== */
.vmv-section { padding:80px 20px; background:#eef2f7; }
.vmv-grid { display:flex; flex-wrap:wrap; gap:30px; justify-content:center; }
.vmv-card { flex:1; min-width:250px; background:#fff; padding:30px 20px; border-radius:10px; text-align:center; box-shadow:0 4px 12px rgba(0,0,0,0.08); transition:transform 0.3s, box-shadow 0.3s; }
.vmv-card:hover { transform:translateY(-5px); box-shadow:0 8px 20px rgba(0,0,0,0.12); }
.vmv-card i { font-size:30px; color:#4f46e5; margin-bottom:15px; }
.vmv-card h3 { font-size:20px; margin-bottom:10px; }
.vmv-card p { font-size:15px; color:#4b5563; }

/* ================== History Section ================== */
.history-section { padding:80px 20px; background:#fff; }
.history-grid { display:flex; flex-wrap:wrap; gap:40px; align-items:center; }
.history-grid > div { flex:1; min-width:300px; }
.history-grid img { width:100%; border-radius:8px; box-shadow:0 4px 12px rgba(0,0,0,0.08); transition:transform 0.3s; }
.history-grid img:hover { transform:scale(1.03); }

/* ================== Infrastructure Section ================== */
.infra-section { padding:80px 20px; }
.infra-grid { display:flex; flex-wrap:wrap; gap:20px; justify-content:center; }
.infra-item { position:relative; flex:1; min-width:300px; height:250px; overflow:hidden; border-radius:10px; cursor:pointer; transition:transform 0.3s; }
.infra-item img { width:100%; height:100%; object-fit:cover; transition:transform 0.5s; }
.infra-item:hover img { transform:scale(1.1); }
.infra-overlay { position:absolute; bottom:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.4); color:#fff; display:flex; align-items:center; justify-content:center; font-size:1.3rem; font-weight:600; opacity:0; transition:opacity 0.3s; }
.infra-item:hover .infra-overlay { opacity:1; }

/* ================== Buttons ================== */
/* ================== Buttons ================== */
.link-btn {
    display: inline-flex;        /* Flex container बनाउँछ */
    align-items: center;         /* Vertical center alignment */
    justify-content: center;     /* Horizontal center alignment */
    /* padding: 8px 16px; */
    border-radius: 5px;
    color: #19d019;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
    margin: 0 auto;              /* Center the button in parent block */
}

.link-btn:hover {
    background: #3730a3;
}

/* Optional: If parent has multiple buttons, wrap in .text-center */
.text-center {
    text-align: center;
}

/* ================== Responsive ================== */
@media screen and (max-width:992px) { .split-hero, .history-grid, .vmv-grid, .infra-grid { flex-direction:column; } .split-image-side { max-height:400px; } }
@media screen and (max-width:576px) { .split-text-side h1 { font-size:28px; } .vmv-card { padding:20px; } .infra-item { height:200px; } }
/* Hide carousel images on small screens (mobile) */
@media screen and (max-width: 576px) {
    
    .split-image-side {
        height:40vh; /* completely hide image side */
        margin-top:0; /* remove top margin for better spacing */
    }
}
