/* Overall Section Styling */
.announcement-section {
    background: linear-gradient(90deg, #002b5b, #00509d);
    color: #ffffff;
    padding: 5px 0; /* Reduced padding */
    font-size: 14px; /* Smaller text */
}

/* Announcement Title Styling */
.announcement-title {
    font-size: 14px; /* Smaller size */
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    /* background: rgba(255, 255, 255, 0.15); */
    padding: 5px 10px; /* Reduced padding */
    border-radius: 5px;
    white-space: nowrap;
}

.announcement-title i {
    font-size: 16px;
}

/* Marquee Container */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    height: 30px; /* Set a fixed height */
    line-height: 30px; /* Align text vertically */
}

/* Marquee Scrolling */
.marquee-content {
    display: flex;
    gap: 15px;
    animation: marquee 15s linear infinite;
}

.marquee-content:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(-100%);
    }
}

/* Announcement Items */
.announcement-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    /* background: rgba(255, 255, 255, 0.2); */
    /* padding: 5px 10px;  Reduced padding */
    border-radius: 6px;
    transition: background 0.3s ease-in-out;
}

.announcement-item a {
    color: #ffdd57;
    text-decoration: none;
    font-weight: 500;
}

.announcement-item:hover {
    /* background: rgba(255, 255, 255, 0.3); */
}

.announcement-item:hover a {
    color: #fff;
    text-decoration: underline;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
    .announcement-title {
        font-size: 12px;
        padding: 3px 8px;
    }

    .marquee-container {
        height: 25px;
        line-height: 25px;
    }

    .marquee-content {
        animation-duration: 20s;
    }
}

/* Events  */
.event-image-wrapper {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 6px;
}

.event-image-wrapper img {
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
}

/*  Placement */
.text-truncate-2 {
    display: -webkit-box; /* Required for line clamping */
    -webkit-box-orient: vertical; /* Specifies the direction of the box */
    -webkit-line-clamp: 2; /* Limits the text to 2 lines */
    overflow: hidden; /* Hides the overflow text */
    text-overflow: ellipsis; /* Adds ellipsis (...) at the point of truncation */
    line-height: 1.5; /* Adjusts the line height for readability */
}

.text-truncate-3 {
    display: -webkit-box; /* Required for line clamping */
    -webkit-box-orient: vertical; /* Specifies the direction of the box */
    -webkit-line-clamp: 3; /* Limits the text to 3 lines */
    overflow: hidden; /* Hides the overflow text */
    text-overflow: ellipsis; /* Adds ellipsis (...) at the point of truncation */
    line-height: 1.5; /* Adjusts the line height for readability */
}

.fw-bold {
    font-weight: bold;
}

.fw-semibold {
    font-weight: 500px;
}

.award-title {
    min-height: 45px;
    /* display: flex; */
    align-items: center; /* Vertically centers the content */
    justify-content: center; /* Horizontally centers the content (optional) */
}

/* Common styles for all blocks */
/* .sem-bg {
    position: relative;
    padding: 1.5rem;
    min-height: 120px;
    border-radius: 0.75rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    overflow: hidden;
} */

/* // creer and employbility */
.circle-box {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.circle-box:hover {
    transform: scale(1.05);
}

.circle-text {
    /* color: #fff; */
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    padding: 10px;
    word-break: break-word;
}

/* Admission process */
.border-aqua {
    border-color: #00c6ac;
}
.border-blue {
    border-color: #0097ca;
}
.border-pink {
    border-color: #c34892;
}
.border-purple {
    border-color: #7b49b7;
}
.border-orange {
    border-color: #c9800f;
}
.border-violet {
    border-color: #99469f;
}

/* Keep text color the same on hover */
.border-aqua:hover {
    color: #00c6ac;
}
.border-blue:hover {
    color: #0097ca;
}
.border-pink:hover {
    color: #c34892;
}
.border-purple:hover {
    color: #7b49b7;
}
.border-orange:hover {
    color: #c9800f;
}
.border-violet:hover {
    color: #99469f;
}

.admission-pro .affli-slider-2 .owl-stage {
    padding: 20px 0px;
    margin-left: -15px;
    /* margin-top: 1rem; */
}
.admision-round {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    /* border: 4px solid #ccc; */
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(to bottom, #ffffff, #f7f7f7);
    color: #333;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin: auto;
    padding: 10px;
    position: relative;
}

.admision-round:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    color: #000;
    text-decoration: none;
}

@media (max-width: 768px) {
    .admision-round {
        width: 100px;
        height: 100px;
        font-size: 14px;
        padding: 8px;
    }
}

/* Overlay */

.custom-overlay {
    position: relative;
    overflow: hidden;
}

.custom-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(
        --overlay-color,
        rgba(173, 216, 230, 0.3)
    ); /* Default light blue */
    z-index: 1;
}

.custom-overlay > .content {
    position: relative;
    z-index: 2;
}

/* Overlay */

.fac .carousel-caption-2 {
    top: 8rem!important;
}

.goto-top {
    display: none;
    position: fixed;
    bottom: 80px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: white;
    color: #232c31;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

/* Common styles for both controls */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.3); /* semi-transparent background */
    border-radius: 50%;
    width: 36px;
    height: 36px;
    background-size: 60% 60%;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Hover effect */
.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background-color: rgba(0, 0, 0, 0.6); /* darken on hover */
    transform: scale(1.2) rotate(10deg); /* zoom and rotate */
}

/* Optional: Add subtle pulse animation */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    animation: pulse 3s infinite;
}


.object-fit-cover {
    object-fit: cover;
}

.pr-2 {
    padding: unset;
    padding-right: 32px!important;
}
