/* header */
.main-logo {
	height: 70px;
	object-fit: fill;
	object-position: center center;	
}
@media (max-width: 768px) {
    .top-bar {
        padding: 0 ;
    }
    .logo-web-text2{
        font-size: 0.9rem;
        font-weight: 700;
    }
}
@media (max-width: 576px) {
    .w-sm-100 {
        width: 100% !important;
    }
}

/*marquee*/
    ul.marquee {
        padding: 0;
        margin: 0;
        list-style: none;
        line-height: 1;
        position: relative;
        overflow: hidden;
        font-size: 16px;
        line-height: 32px;
        height: 28px;
    }
    @media (max-width: 768px) {
        ul.marquee {
            left: 0;
        }
    }
    ul.marquee a{
        color: var(--bs-light);
    }
    ul.marquee a:hover{
        color: var(--bs-secondary);
    }
    ul.marquee li {
        position: absolute;
        top: -999em;
        left: 0;
        display: block;
        white-space: nowrap;
    }

    .marquee-text:hover {
      color: var(--bs-secondary);
    }


/* color */
.bg-site-secondary {
  background-color: var(--secondary);
}

.bg-web-primary {
    background-color: var(--primary);
}

.text-web-primary {
    color: var(--primary);
}

.text-web-secondary {
    color: var(--secondary);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline-primary:hover {
    background-color: var(--primary);
    color: var(--bs-light);
    border-color: var(--primary);
}

/*message from*/
    .msg-img {
      width: 15rem;
      height: 15rem;
      object-fit: cover;
      object-position: center top;
    }

/*notice section*/
    .no-child-padding > * {
        padding: 0;
    }
    .no-child-margin > * {
        margin: 0;
    }
    .notice-box {
        transition: background-color 0.3s ease;
    }
    .notice-box:hover {
        background-color: var(--light);
        text-decoration: none !important;
    }

    #noticeList > .border-primary:hover {
        border-color: var(--bs-danger) !important;
        transition: .5s;
    }

/*notice media gallrey*/
    .media-center:hover .show-on-hover {
      display: block;
      transition: .5s;
    }

    .media-img{
      width: 100%;
      height: 315px;
      object-position: center;
      object-fit: cover;
    }

    .autoplay-progress {
      position: absolute;
      right: 16px;
      top: 60px;
      z-index: 10;
      width: 48px;
      height: 48px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: bold;
      color: var(--bs-light);
    }

    .autoplay-progress svg {
      --progress: 0;
      position: absolute;
      left: 0;
      top: 0px;
      z-index: 10;
      width: 100%;
      height: 100%;
      stroke-width: 4px;
      stroke: var(--accent-color);
      fill: none;
      stroke-dashoffset: calc(125.6px * (1 - var(--progress)));
      stroke-dasharray: 125.6;
      transform: rotate(-90deg);
    }

/* new Notice section */
    .notice-timeline {
        position: relative;
        padding-left: 25px;
        border-left: 2px dashed rgba(13, 110, 253, 0.4);
    }

    .notice-card {
        position: relative;
        background: #ffffff;
        border-radius: 10px;
        padding: 16px;
        margin-bottom: 20px;
        transition: all 0.35s ease;
    }

    .notice-card:hover {
        /* transform: translateX(6px); */
        box-shadow: 0 12px 28px rgba(13,110,253,0.15);
    }

    /* Timeline Dot */
    .timeline-dot {
        position: absolute;
        left: -33px;
        top: 28px;
        width: 14px;
        height: 14px;
        background: var(--bs-primary);
        border-radius: 50%;
        border: 3px solid #fff;
        box-shadow: 0 0 0 4px rgba(13,110,253,0.2);
    }
    .notice-card:hover .timeline-dot {
        background: var(--bs-danger);
        box-shadow: 0 0 0 4px rgba(253, 13, 13, 0.2);
    }

    /* Date Box */
    .notice-date {
        min-width: 58px;
        background: linear-gradient(135deg, var(--primary), var(--bs-primary));
        color: #fff;
        border-radius: 8px;
        padding: 6px 0;
        line-height: 1.2;
        box-shadow: 0 4px 12px rgba(13,110,253,0.3);
    }

    .notice-date .day {
        font-size: 14px;
        font-weight: 700;
        display: block;
    }

    .notice-date .month {
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    /* Title */
    .notice-title {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

/* Mobile Tweaks */
@media (max-width: 576px) {
    .notice-card {
        padding: 14px;
    }

    .notice-date {
        min-width: 50px;
    }
}


/*slider*/
    .web-slider {
        height: 100vh;
        object-fit: cover;
        object-position: center;
    }

    @media (max-width: 768px) {
        .web-slider {
            height: 50vh !important;
            object-fit: cover;
            object-position: center;
        } 

    }

    @media (max-width: 768px) {
      .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 293px !important;
      }
    }

/*why us*/
    .glass-bg {
        background: rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(10px);
    }
    .hover-lift {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .hover-lift:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px var(--primary);
    }

/* about  */
/* Reset padding on smaller devices */
@media (max-width: 991.98px) { /* below lg breakpoint */
    .col-lg-6.pt-4 > div > img.position-absolute.top-0.start-0.w-100.h-100 {
        padding-left: 0 !important;
        padding-bottom: 0 !important;
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        position: relative !important;
    }
    .col-lg-6.pt-4 > div > img.position-absolute.bg-white.pt-2.pe-2 {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        margin-top: 15px;
    }
    /* Optional: set min-height to auto or reduce */
    .col-lg-6.pt-4 {
        min-height: auto !important;
    }
}
.developer{
    color: var(--saffron);
}
.developer:hover{
    color: white;
}

/* gallery */
    .main-gallery {
        height: 212px;
        object-fit: cover;
        object-position: center center; 
    }

    .folder-stack { cursor:pointer; transition: transform 0.3s; }
    .folder-stack:hover { transform: translateY(-5px) scale(1.03); }

.mt-6 {
    margin-top: 5rem;
}

.mb-6 {
    margin-bottom: 5rem;
}

.pt-6 {
    padding-top: 5rem;
}

.pb-6 {
    padding-bottom: 5rem;
}

/*** Button ***/
    .btn {
        transition: .5s;
        font-weight: 600;
        text-transform: uppercase;
    }

    .btn-primary,
    .btn-outline-primary:hover {
        color: var(--bs-light);
    }

    .btn-secondary,
    .btn-outline-secondary:hover {
        color: var(--bs-dark);
    }

    .btn-square {
        width: 38px;
        height: 38px;
    }

    .btn-sm-square {
        width: 32px;
        height: 32px;
    }

    .btn-lg-square {
        width: 48px;
        height: 48px;
    }

    .btn-xl-square {
        width: 60px;
        height: 60px;
    }

    .btn-xxl-square {
        width: 75px;
        height: 75px;
    }

    .btn-square,
    .btn-sm-square,
    .btn-lg-square,
    .btn-xl-square,
    .btn-xxl-square {
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: normal;
    }

/*** Team ***/
    .team .team-item {
        background: var(--bs-white);
        box-shadow: 0 0 45px rgba(0, 0, 0, .05);
    }
    .team-img-wrapper{
        height: 200px;
    }
    .team .team-item .team-social {
        position: absolute;
        width: 100%;
        height: 0;
        top: 0;
        /* right: 0; */
        transition: .5s;
        background: var(--bs-primary);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .team .team-item:hover .team-social {
        /* width: 100%; */
        height: 30%;
        left: 0;

    }

    .team .team-item .team-social .btn {
        opacity: 0;
        transition: .5s;
    }

    .team .team-item:hover .team-social .btn {
        opacity: 1;
    }

/* effect */
    .shine {
        position: relative;
        overflow: hidden;
    }

    .shine::after {
        content: "";
        position: absolute;
        top: 0;
        left: -80%;
        width: 60%;
        height: 100%;
        background: linear-gradient(
            120deg,
            transparent,
            rgba(255, 255, 255, 0.6),
            transparent
        );
        animation: shineMove 3s infinite;
    }

    @keyframes shineMove {
        0% {
            left: -80%;
        }
        100% {
            left: 120%;
        }
    }

    .pulse {
        animation: pulseGlow 2s infinite;
    }

    @keyframes pulseGlow {
        0% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.6); }
        70% { box-shadow: 0 0 0 12px rgba(220, 53, 69, 0); }
        100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); }
    }

    .breathe {
        animation: breathe 3s infinite ease-in-out;
    }

    @keyframes breathe {
        0%, 100% { transform: scale(1); opacity: 1; }
        50% { transform: scale(1.05); opacity: 0.85; }
    }

    .ping {
        position: relative;
    }

    .ping::after {
        content: "";
        position: absolute;
        top: -4px;
        right: -4px;
        width: 8px;
        height: 8px;
        background: red;
        border-radius: 50%;
        animation: ping 1.5s infinite;
    }

    @keyframes ping {
        0% { transform: scale(0.8); opacity: 1; }
        100% { transform: scale(2); opacity: 0; }
    }




/*** Testimonial ***/
    .testimonial-title {
        height: 100%;
        padding: 30px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        /* background: url(../img/bg.jpg) center center no-repeat; */
        background-size: cover;
    }

    .testimonial-img {
        position: relative;
        padding: 45px 0 45px 90px;
    }

    .testimonial-img::before {
        position: absolute;
        content: "";
        top: 0;
        left: 0;
        width: calc(50% + 45px);
        height: 100%;
        background: var(--light);
        z-index: -1;
    }

    .testimonial-carousel .owl-nav {
        position: absolute;
        top: 50%;
        left: 1.5rem;
        transform: translateY(-50%);
        display: flex;
        flex-direction: column;
    }

    .testimonial-carousel .owl-prev,
    .testimonial-carousel .owl-next {
        width: 45px;
        height: 45px;
        margin: 10px 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        color: var(--bs-white);
        background: var(--secondary);
        transition: .5s;
    }

    .testimonial-carousel .owl-prev:hover,
    .testimonial-carousel .owl-next:hover {
        color: var(--secondary);
        background: var(--bs-white);
    }

    @media (max-width: 768px) {
        .testimonial-carousel .owl-nav {
            top: 6.3rem;
        }
    }

.service-img{
    height: 250px;
    object-fit: cover;
    object-position: center;
}
.service-overlay{
      background: linear-gradient(to top, rgba(0, 129, 250, 0.6) 0%, rgba(255, 255, 255, 0) 20%);
}

/*** team ***/
    .team-card {
        perspective: 1000px;
    }

    .team-info {
        position: relative;
        height: 80px; /* height of the name/designation area */
        transform-style: preserve-3d;
        transition: transform 0.6s ease;
    }

    .team-card:hover .team-info {
        transform: rotateY(180deg);
    }

    .team-info .front,
    .team-info .back {
        position: absolute;
        width: 100%;
        height: 100%;
        backface-visibility: hidden;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .team-info .front {
        background: #fff;
        color: #333;
    }

    .team-info .back {
        background: var(--primary); /* Bootstrap primary */
        color: #fff;
        transform: rotateY(180deg);
    }

    .social-links a {
        color: #fff;
        margin: 0 8px;
        font-size: 18px;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .social-links a:hover {
        color: #0e0d0d; /* yellow hover effect */
    }

    .team-img {
        height: 300px;
        object-fit: cover;
        object-position: center;
    }
/*Service*/
    .diagonal-card { height: 220px; display: flex; }
    .diagonal-card-img {
        width: 50%; background-size: cover; background-position: center;
        clip-path: polygon(0 0, 100% 0, 70% 100%, 0% 100%);
    }
    .diagonal-card-content {
        width: 50%; background: #fff; display: flex; flex-direction: column; justify-content: center;
    }

/* new service */


/* Department Card */
    .dept-split-card {
        display: flex;
        border: 1px solid #e6e6e6;
        border-radius: 12px;
        overflow: hidden;
        transition: box-shadow .3s ease, transform .3s ease;
    }

    .dept-split-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 20px rgba(0,0,0,.1);
    }

    .dept-split-img img {
        width: 100px;
        height: 100px;
        object-fit: cover;
    }

    .dept-split-body {
        padding: 18px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .dept-split-body h5 {
        font-weight: 600;
    }

/* Related Image */
    .related-image {
        aspect-ratio: 4 / 3;
        object-fit: cover;
    }

    .line-clamp-2 {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .related-card img {
        transition: transform 0.3s ease;
    }

    .related-card:hover img {
        transform: scale(1.05);
    }

/* download */
    .list-group-item {
        border-radius: 0.75rem;
        margin-bottom: 12px;
        transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .list-group-item:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    }

    .download-icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        background: #f1f5ff;
    }

/* career */
    .career-card {
        border-radius: 0.9rem;
        transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .career-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
    }