.new-coe-layout{
    background:
    linear-gradient(rgba(255,255,255,0.94), rgba(255,255,255,0.94)),
    url('bg-pattern.png');
    background-size:cover;
    background-position:center;
    padding:70px 0;
}

.coe-department{
    margin-bottom:90px;
}

.dept-title{
    background:#1f4f8b;
    color:#fff;
    width:85%;
    margin:0 auto 35px;
    text-align:center;
    padding:14px 25px;
    font-size:42px;
    font-style:italic;
    font-weight:300;
    clip-path:polygon(2% 0%,100% 0%,98% 100%,0% 100%);
}

.dept-wrapper{
    display:flex;
    align-items:flex-start;
    gap:38px;
}

.dept-images{
    width:220px;
    display:flex;
    flex-direction:column;
    gap:32px;
}

.dept-images img{
    width:190px;
    height:190px;
    border-radius:50%;
    border:7px solid #1f4f8b;
    object-fit:cover;
    cursor:pointer;
    transition:0.4s;
    box-shadow:0 5px 15px rgba(0,0,0,0.15);
}

.dept-images img:hover{
    transform:scale(1.05);
}

.dept-content{
    flex:1;
}

.blue-box{
    background:#1f4f8b;
    color:#fff;
    padding:22px 28px;
    margin-bottom:18px;
}
.angle-box{
    clip-path:polygon(0 0,97% 0,100% 15%,100% 100%,3% 100%,0 85%);
}
.white-box{
    margin-bottom:18px;
    color:#1f2d3d;
}
.blue-box h3,
.white-box h3{
    font-size:22px;
    margin-bottom:15px;
    font-style:italic;
}

.blue-box p,
.white-box p{
    font-size:16px;
    line-height:1.9;
}

.blue-box ul,
.white-box ul{
    padding-left:24px;
}

.blue-box ul li,
.white-box ul li{
    margin-bottom:10px;
    line-height:1.7;
    font-size:15px;
}

.second-dept{
    position:relative;
}

.second-dept::after{
    content:"";
    position:absolute;
    bottom:-40px;
    left:0;
    width:100%;
    height:120px;
    background:linear-gradient(90deg,#d9dff1,#f3f4f7);
    opacity:0.4;
    border-radius:50%;
    filter:blur(20px);
}

@media(max-width:991px){
.dept-wrapper{
    flex-direction:column;
}

.dept-images{
    width:100%;
    flex-direction:row;
    justify-content:center;
    flex-wrap:wrap;
}

.dept-title{
    width:100%;
    font-size:32px;
}
}

@media(max-width:768px){
.dept-title{
    font-size:26px;
    padding:12px 15px;
}

.dept-images img{
    width:145px;
    height:145px;
}

.blue-box,
.white-box{
    padding:18px;
}

.blue-box p,
.white-box p,
.blue-box ul li,
.white-box ul li{
    font-size:14px;
}

}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial, sans-serif;
    background:#f4f7fb;
    color:#222;
}

.top-branding{
    background:linear-gradient(90deg,#003b75,#0057a8);
    padding:0px 0;
    border-top:2px solid #00aaff;
    border-bottom:3px solid rgba(255,255,255,0.15);
    box-shadow:0 2px 10px rgba(0,0,0,0.15);
}

.brand-container{
    width:92%;
    max-width:1350px;
    margin:auto;
    display:flex;
    align-items:center;
    gap:22px;
}

.brand-logo img{
    width:82px;
    background:#fff;
    padding:8px;
    border-radius:10px;
    box-shadow:0 4px 12px rgba(0,0,0,0.18);
}

.brand-text{
    flex:1;
}

.brand-text h1{
    color:#fff;
    font-size:18px;
    font-weight:700;
    margin-bottom:6px;
    line-height:1.2;
}

.brand-text h3{
    color:#ffde59;
    font-size:10px;
    font-weight:500;
    margin-bottom:8px;
}

.brand-text p{
    color:#ffffff;
    font-size:10px;
    font-weight:600;
    letter-spacing:1px;
}

.coe-banner{
    background:
    linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
    url('1.jpg');
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    padding:100px 20px;
    text-align:center;
    position:relative;
}

.coe-banner h1{
    color:#fff;
    font-size:35px;
    margin-bottom:20px;
    font-weight:700;
}

.coe-banner p{
    color:#f1f1f1;
    max-width:900px;
    margin:auto;
    line-height:1.9;
    font-size:13px;
}

.coe-section{
    padding:0px 0;
}

.container{
    width:92%;
    max-width:1350px;
    margin:auto;
}

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title h2{
    font-size:42px;
    color:#0d47a1;
    margin-bottom:12px;
}

.section-title p{
    color:#555;
    font-size:17px;
}

.coe-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:35px;
}

.coe-card{
    background:#fff;
    border-radius:22px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,0.08);
    transition:0.4s;
}

.coe-card:hover{
    transform:translateY(-8px);
}

.coe-image{
    height:260px;
    overflow:hidden;
    position:relative;
}

.coe-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:0.5s;
    cursor:pointer;
}

.coe-card:hover .coe-image img{
    transform:scale(1.08);
}

.zoom-icon{
    position:absolute;
    top:15px;
    right:15px;
    width:42px;
    height:42px;
    background:#ffffffdd;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#0d47a1;
    font-size:18px;
}

.coe-content{
    padding:28px;
}

.coe-content h3{
    font-size:24px;
    color:#111;
    margin-bottom:14px;
}

.machine-info{
    margin-bottom:10px;
    font-size:15px;
    color:#444;
    line-height:1.7;
}

.machine-info strong{
    color:#0d47a1;
}

.coe-content p{
    font-size:15px;
    color:#666;
    line-height:1.8;
    margin-top:15px;
}

#lightbox{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.94);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:99999;
}

#lightbox img{
    max-width:88%;
    max-height:88%;
    border-radius:18px;
    border:6px solid #fff;
    box-shadow:0 0 35px rgba(255,255,255,0.25);
    animation:zoomIn 0.4s ease;
}

.close-lightbox{
    position:absolute;
    top:18px;
    right:30px;
    color:#fff;
    font-size:60px;
    font-weight:bold;
    cursor:pointer;
    transition:0.3s;
}

.close-lightbox:hover{
    color:red;
    transform:rotate(90deg);
}

.nav-btn{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    background:rgba(255,255,255,0.15);
    border:none;
    color:#fff;
    font-size:40px;
    width:60px;
    height:60px;
    border-radius:50%;
    cursor:pointer;
    transition:0.3s;
}

.nav-btn:hover{
    background:#fff;
    color:#000;
}

.prev-btn{
    left:30px;
}

.next-btn{
    right:30px;
}


@keyframes zoomIn{
    from{
        transform:scale(0.7);
        opacity:0;
    }
    to{
        transform:scale(1);
        opacity:1;
    }
}

.footer{
    background:#1d2a7d;
    padding:22px 0;
    margin-top:60px;
}

.footer-container{
    width:92%;
    max-width:1350px;
    margin:auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:20px;
}

.footer-logo img{
    height:75px;
}

.footer-text{
    color:#fff;
    font-size:14px;
    text-align:center;
}

.social-icons{
    display:flex;
    gap:18px;
}

.social-icons a{
    text-decoration:none;
    font-size:15px;
    transition:0.3s;
}

.social-icons a:hover{
    transform:translateY(-4px);
}


@media(max-width:768px){

.brand-container{
    flex-direction:column;
    text-align:center;
}

.brand-logo img{
    width:95px;
}

.brand-text h1{
    font-size:24px;
}

.brand-text h3{
    font-size:14px;
}

.brand-text p{
    font-size:16px;
}

.coe-banner h1{
    font-size:36px;
}

.coe-banner p{
    font-size:15px;
}

.section-title h2{
    font-size:32px;
}

.coe-image{
    height:220px;
}

#lightbox img{
    max-width:95%;
    max-height:80%;
}

.close-lightbox{
    font-size:42px;
    top:10px;
    right:18px;
}

.nav-btn{
    width:45px;
    height:45px;
    font-size:28px;
}

.prev-btn{
    left:10px;
}

.next-btn{
    right:10px;
}

.footer-container{
    flex-direction:column;
    text-align:center;
}

}



.dept-images-row{
    display:flex;
    flex-direction:column; 
    align-items:center;
    gap:40px;
    margin-bottom:40px;
}

.side-image{
    width:85%;
    max-width:778px;
}

.side-image img{
    width:100%;
    height:500px;
    object-fit:cover;
    border-radius:25px;
    border:8px solid #1f4f8b;
    cursor:pointer;
    transition:0.4s;
    box-shadow:0 10px 30px rgba(0,0,0,0.25);
    display:block;
}

.side-image img:hover{
    transform:scale(1.02);
}

.vc-message-section{
    padding:36px 0;
    background:
    linear-gradient(rgba(244,248,255,0.96), rgba(244,248,255,0.96)),
    url('bg-pattern.png');
    background-size:cover;
}

.vc-card{
    display:flex;
    align-items:center;
    gap:60px;
    background:#fff;
    border-radius:35px;
    padding:50px;
    box-shadow:0 15px 45px rgba(0,0,0,0.08);
    overflow:hidden;
    position:relative;
}

.vc-card::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:8px;
    height:100%;
    background:linear-gradient(to bottom,#0d47a1,#1f4f8b);
}

.vc-image-side{
    width:340px;
    position:relative;
    text-align:center;
}

.vc-image-box{
    position:relative;
}

.vc-image-box::before{
    content:"";
    position:absolute;
    inset:-15px;
    border:2px dashed #1f4f8b55;
    border-radius:35px;
}

.vc-image-box img{
    width:100%;
    max-width:220px;
    height:270px;
    object-fit:cover;
    border-radius:20px;
    border:5px solid #fff;
    box-shadow:0 8px 20px rgba(0,0,0,0.15);
    transition:0.4s;
}

.vc-image-box img:hover{
    transform:scale(1.02);
}

.vc-badge{
    display:inline-flex;
    align-items:center;
    gap:10px;
    background:#0d47a1;
    color:#fff;
    padding:12px 22px;
    border-radius:50px;
    margin-top:-25px;
    position:relative;
    z-index:2;
    font-size:10px;
    font-weight:600;
    box-shadow:0 8px 25px rgba(13,71,161,0.3);
}

.vc-content-side{
    flex:1;
}

.vc-tag{
    display:inline-block;
    background:#eaf2ff;
    color:#0d47a1;
    padding:10px 20px;
    border-radius:40px;
    font-size:13px;
    font-weight:700;
    letter-spacing:1px;
    margin-bottom:22px;
}

.vc-content-side h2{
    font-size:44px;
    line-height:1.2;
    color:#0f172a;
    margin-bottom:20px;
    font-weight:800;
}

.vc-line{
    width:90px;
    height:5px;
    background:linear-gradient(to right,#0d47a1,#3b82f6);
    border-radius:20px;
    margin-bottom:28px;
}

.vc-content-side p{
    font-size:12px;
    line-height:2;
    color:#555;
    margin-bottom:20px;
    text-align:justify;
}

.vc-footer{
    margin-top:35px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    border-top:1px solid #e5e7eb;
    padding-top:25px;
}

.vc-footer h4{
    font-size:28px;
    color:#0d47a1;
    margin-bottom:8px;
}

.vc-footer span{
    font-size:16px;
    color:#666;
    line-height:1.7;
}

.vc-quote{
    width:90px;
    height:90px;
    background:linear-gradient(135deg,#0d47a1,#2563eb);
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:34px;
    box-shadow:0 10px 25px rgba(37,99,235,0.3);
}


@media(max-width:991px){

    .vc-card{
        flex-direction:column;
        padding:35px;
    }

    .vc-image-side{
        width:100%;
        max-width:320px;
    }

    .vc-content-side h2{
        font-size:34px;
    }

}

@media(max-width:768px){

    .vc-message-section{
        padding:60px 0;
    }

    .vc-card{
        padding:25px;
        border-radius:25px;
    }

    .vc-image-box img{
        height:350px;
    }

    .vc-content-side h2{
        font-size:28px;
    }

    .vc-content-side p{
        font-size:15px;
        line-height:1.9;
        text-align:left;
    }

    .vc-footer{
        flex-direction:column;
        align-items:flex-start;
    }

    .vc-quote{
        width:70px;
        height:70px;
        font-size:26px;
    }

}

#smartScrollBtn{
    animation:pulse 2s infinite;
    width:40px;
    height:40px;
    position:fixed;
    bottom:84px;
    right:10px;
    z-index:999;
    background:linear-gradient(145deg,#4db7fe,#379ae1);
    color:#fff;
    border:none;
    border-radius:50%;
    font-size:20px;
    box-shadow:0 6px 15px rgba(0,0,0,0.2);
    cursor:pointer;
    transition:all 0.3s ease;
    display:none;

    display:flex;
    align-items:center;
    justify-content:center;
}

#smartScrollBtn:hover{
    transform:translateY(-3px) scale(1.08);
    box-shadow:0 10px 22px rgba(0,0,0,0.25);
}

@keyframes pulse{

    0%{
        box-shadow:0 0 0 0 rgba(77,183,254,0.6);
    }

    70%{
        box-shadow:0 0 0 14px rgba(77,183,254,0);
    }

    100%{
        box-shadow:0 0 0 0 rgba(77,183,254,0);
    }
}

.top-menu{
    display:flex;
    align-items:center;
    gap:24px;
    margin-left:auto;
}

.top-menu a{
    color:#fff;
    text-decoration:none;
    font-size:15px;
    font-weight:600;
    transition:0.3s;
    position:relative;
}

.top-menu a:hover{
    color:#ffde59;
}

.dropdown-menu-custom{
    position:relative;
}

.drop-btn{
    display:flex;
    align-items:center;
    gap:6px;
}

.dropdown-content{
    position:absolute;
    top:100%;
    margin-top:12px;
    right:10px;
    background:#fff;
    min-width:230px;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,0.18);
    opacity:0;
    visibility:hidden;
    transform:translateY(10px);
    transition:0.3s;
    z-index:9999;
}

.dropdown-content a{
    display:block;
    color:#222;
    padding:12px 18px;
    font-size:14px;
    transition:0.3s;
}

.dropdown-content a:hover{
    background:#f2f7ff;
    color:#0d47a1;
    padding-left:24px;
}

.dropdown-menu-custom:hover .dropdown-content{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

@media(max-width:991px){
    .brand-container{
        flex-direction:column;
        text-align:center;
    }
    .top-menu{
        margin-top:18px;
        flex-wrap:wrap;
        justify-content:center;
        gap:16px;
        margin-left:0;
    }
}
.image-scroll-wrapper{
    width:100%;
    overflow:hidden;
    padding:20px 0 5px;
    background:linear-gradient(to right,#f4f8ff,#ffffff,#f4f8ff);
    border-radius:25px;
    position:relative;
}
.image-scroll-track{
    display:flex;
    align-items:center;
    gap:25px;
    width:max-content;
    animation:scrollGallery 28s linear infinite;
}
.image-scroll-track img{
    width:220px;
    height:170px;
    object-fit:cover;
    border-radius:22px;
    border:5px solid #fff;
    cursor:pointer;
    box-shadow:
    0 8px 22px rgba(0,0,0,0.12),
    0 0 0 2px #1f4f8b20;
    transition:0.4s;
}

.image-scroll-track img:hover{
    transform:translateY(-8px) scale(1.04);
    box-shadow:
    0 15px 35px rgba(0,0,0,0.18),
    0 0 0 3px #1f4f8b55;
}

@keyframes scrollGallery{
    from{
        transform:translateX(0);
    }
    to{
        transform:translateX(-50%);
    }
}

.image-scroll-wrapper:hover .image-scroll-track{
    animation-play-state:paused;
}

@media(max-width:768px){
    .image-scroll-track img{
        width:160px;
        height:120px;
    }

}

.image-scroll-wrapper-right{
    width:100%;
    overflow:hidden;
    padding:20px 0 5px;
    background:linear-gradient(to right,#f4f8ff,#ffffff,#f4f8ff);
    border-radius:25px;
    position:relative;
}

.image-scroll-track-right{
    display:flex;
    align-items:center;
    gap:25px;
    width:max-content;
    animation:scrollLeftToRight 28s linear infinite;
}

.image-scroll-track-right img{
    width:220px;
    height:170px;
    object-fit:cover;
    border-radius:22px;
    border:5px solid #fff;
    cursor:pointer;
    box-shadow:
    0 8px 22px rgba(0,0,0,0.12),
    0 0 0 2px #1f4f8b20;
    transition:0.4s;
}

.image-scroll-track-right img:hover{
    transform:translateY(-8px) scale(1.04);
    box-shadow:
    0 15px 35px rgba(0,0,0,0.18),
    0 0 0 3px #1f4f8b55;
}

@keyframes scrollLeftToRight{
    from{
        transform:translateX(-50%);
    }
    to{
        transform:translateX(0);
    }
}

.image-scroll-wrapper-right:hover .image-scroll-track-right{
    animation-play-state:paused;
}

@media(max-width:768px){

    .image-scroll-track-right img{
        width:160px;
        height:120px;
    }
}