/* =========================================
   HOMEPAGE SECTIONS
========================================= */

/* Homepage Template Sections */
.home-banner {
    position: relative;
    height: 70vh;
    min-height: 600px;
    background: var(--primary-color);
    overflow: hidden;
}

.main-slider,
.main-slider .slick-list,
.main-slider .slick-track,
.main-slider .item {
    height: 100%;
}

.main-slider .item {
    position: relative;
    overflow: hidden;
}

.main-slider .image-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    transform: scale(1);
    transition: transform 10s linear;
    will-change: transform;
}

.main-slider .slick-active .image-slide img {
    transform: scale(1.15);
}

.home-banner .overlay {
    width: 100%;
    background: rgba(49, 55, 128, 0.5);
    display: inline-block;
    padding: 25px 30px;
    max-width: 750px;
    pointer-events: auto;
    border-radius: 12px;
}

.home-banner .caption {
    position: absolute;
    bottom: 40px;
    top: auto;
    transform: none;
    width: 100%;
    z-index: 2;
    color: var(--white-color);
    pointer-events: none;
}

.home-banner h1 {
    font-weight: 300;
    line-height: 1.1;
    font-size: 32px;
    color: var(--white-color);
    margin-bottom: 12px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* Slick Dots Styling (Centered as per CodePen) */
.main-slider .slick-dots {
    bottom: 30px;
    z-index: 5;
    max-width: 1480px;
    left: 50%;
    transform: translateX(-50%);
    justify-content: flex-end;
}

.main-slider .slick-dots li button:before {
    background: var(--yellow-color);
}

.main-slider .slick-dots li.slick-active button:before {
    background: var(--white-color);
}

.banner-description {
    margin-bottom: 2px;
}

.banner-description {
    flex: 1;
}

.banner-actions {
    width: 60px;
}

.banner-description p {
    font-size: 13px;
    line-height: 1.3;
    color: var(--white-color);
    font-weight: 300;
    margin: 0;
}

.btn-banner-video {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    font-size: 15px;
    white-space: nowrap;
    border: 1px solid var(--yellow-color);
    color: var(--white-color);
    background: rgba(49, 55, 128, 0.3);
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
}

.btn-banner-video:hover {
    background: var(--yellow-color);
    color: var(--primary-color) !important;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.btn-banner-video:hover i {
    color: var(--primary-color);
}

/* Banner Text Animations (Inspired by requested CodePen) */
@keyframes fadeInUpSD {
    0% {
        opacity: 0;
        transform: translateY(100px);
    }

    100% {
        opacity: 1;
        transform: none;
    }
}

.main-slider .item .slide-content {
    opacity: 0;
    will-change: transform, opacity;
}

.main-slider .slick-active .slide-content {
    animation: fadeInUpSD 1s cubic-bezier(0.2, 0.6, 0.3, 1) forwards;
    animation-delay: 0.2s;
}

.slide-content-inner {
    display: flex;
    align-items: self-start;
    gap: 20px;
}

.scroll-fiexd-icon {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    pointer-events: none;
    display: none;
}

/* Floating Result Block */
.result-floating-container {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 3;
    pointer-events: none;
}

.result-floating-block {
    display: flex;
    justify-content: flex-end;
}

.result-card-outer {
    max-width: 520px;
}

.result-card {
    background: rgba(255, 255, 255, 0.5);
    padding: 10px;
    border-radius: 12px;
    position: relative;
    text-align: center;
    pointer-events: auto;
}

.close-result {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 34px;
    height: 34px;
    cursor: pointer;
    z-index: 2;
    border: 0;
    background: transparent;
}

.result-body {
    position: relative;
}

.result-card-heading {
    color: #ffffff;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 0;
    line-height: 1;
    letter-spacing: 0.5px;
    position: absolute;
    left: 28px;
    top: 44px;
}

.result-image {
    width: 100%;
}

.result-image img {
    width: 100%;
    height: auto;
    display: block;
}

.result-footer {
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    text-align: center;
}

.result-footer .btn-yellow {
    background: #ffec00;
    color: #000;
    padding: 4px 10px;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 9px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: none;
    transition: 0.3s;
}

.result-footer .btn-yellow:hover {
    background: #313780;
    color: #fff;
    transform: translateY(-2px);
}

/* =========================================
   NEWS & EVENTS SECTION
   ========================================= */
.news-events-section {
    background: #fff url(../images/what-new.jpg) repeat center;
}

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

.news-events-section .row {
    margin-left: -20px;
    margin-right: -20px;
}

.news-events-section .col-lg-5,
.news-events-section .col-lg-4,
.news-events-section .col-lg-3 {
    padding-left: 20px;
    padding-right: 20px;
}

.whats-new-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-bottom: 25px;
}

.whats-new-item .news-main-title {
    color: #333;
    margin-bottom: 5px;
    font-size: 24px;
}

.news-meta-text {
    margin: 0;
}

.whats-new-item .news-ia {
    flex: 1;
    padding-right: 25px;
}

.whats-new-item .news-thumb {
    width: 260px;
    height: 250px;
    border-radius: 12px 0 12px 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.whats-new-item .news-thumb img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.whats-new-item:hover .news-thumb img {
    transform: scale(1.1);
}

/* Birthday Widget */
.birthday-widget {
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.birthday-card-outer {
    display: flex;
    align-items: center;
    gap: 15px;
}

.birthday-widget .slick-slide {
    margin: 0 3px;
}

.birthday-widget .slick-list {
    margin: 0 -3px;
}

.bday-stamp {
    width: 150px;
    flex-shrink: 0;
}

.birthday-slider-container {
    flex: 1;
    min-width: 0;
}

.bday-profile-card {
    text-align: center;
    background: #f5e9e9;
    padding: 10px;
    border-radius: 15px;
    border: 1px solid #eaeaea;
    transition: 0.3s;
    height: 100%;
}

.bday-profile-card:hover {
    box-shadow: 0 5px 15px rgba(254, 203, 0, 0.2);
}

.bday-photo {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    margin: 0 auto 15px;
    border: 3px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.bday-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.bday-details h6 {
    margin: 0;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 500;
}

.bday-details p {
    margin: 5px 0 0;
    font-size: 11px;
    color: #777;
}

/* News Scroll Box */
.news-scroll-wrapper {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 30px 0px 30px 30px;
    border: 1px solid #0021c5;
}

.news-scroll-box {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 15px;
}

.news-scroll-wrapper .btn-bordered {
    border-color: #fff;
    color: #fff;
    margin: 0;
}

.news-scroll-wrapper .btn-bordered:hover {
    background-color: #fff;
    color: #303d95;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.vertical-news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-list-item {
    position: relative;
    padding-left: 25px;
}

.news-list-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 10px;
    height: 10px;
    background: #4f89f0;
    border-radius: 50%;
}

.news-list-link {
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    padding-bottom: 7px;
    border-bottom: 1px solid #dfdfdf;
}

.news-item-title {
    font-size: 14px;
    font-weight: normal;
    margin-bottom: 5px;
    transition: 0.3s;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    /* Show only 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-list-link:hover .news-item-title {
    color: var(--cyan-color);
}

.news-item-date {
    font-size: 12px;
}

.past-events-btn img {
    max-width: 100%;
}

/* Events Calendar Listing */
.all-members-section .directory-item {
    padding: 0;
}

.events-listing-box {
    background: var(--yellow-color);
    padding: 15px 25px;
    border-radius: 20px 0px 20px 20px;
}

.event-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 15px;
    margin-bottom: 15px;
    transition: 0.3s;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.event-row:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.event-row:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(254, 203, 0, 0.3);
}

.event-calendar-badge {
    background: var(--white-color);
    width: 66px;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
}

.event-calendar-badge .day {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0;
    display: block;
}

.event-calendar-badge .month {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 700;
    color: #a100be;
    margin-bottom: 0;
    padding-bottom: 1px;
    border-bottom: 1px solid #b2b2b2;
    display: block;
    margin-top: -5px;
}

.event-calendar-badge .year {
    font-size: 14px;
    color: #888888;
    margin: 0;
    display: block;
}

.event-text p {
    margin: 0;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    /* Show only 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Sidebar Banner Styles */
.alumni-banner,
.portal-icas-logos,
.past-events-cta {
    margin-bottom: 10px;
}

.alumni-banner a,
.portal-icas-logos a,
.past-events-cta a {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.alumni-banner a:hover,
.portal-icas-logos a:hover,
.past-events-cta a:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.alumni-banner img,
.portal-icas-logos img,
.past-events-cta img {
    display: block;
    width: 100%;
}


/* =========================================
   SCHOOL HIGHLIGHTS SECTION
   ========================================= */
.school-highlights,
.notable-alumni {
    background: var(--primary-color) url(../images/school-hightlist.png) no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
}

.text-highlight {
    color: var(--yellow-color);
}

.school-highlights .row {
    margin-left: -30px;
    margin-right: -30px;
}

.school-highlights .col-lg-4 {
    padding-left: 30px;
    padding-right: 30px;
}

.highlight-item-card {
    background: #303d95;
    border: 1px solid rgba(255, 255, 255, 1);
    backdrop-filter: blur(10px);
    padding: 50px;
    border-radius: 35px 0 55px 35px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
}

.highlight-item-card .fs-32 {
    font-size: 28px;
}

.highlight-item-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(254, 203, 0, 0.1) 0%,
            transparent 100%);
    opacity: 0;
    transition: 0.4s;
}

.highlight-item-card:hover {
    transform: translateY(-10px);
    background: linear-gradient(135deg, rgba(0, 22, 169, 0.8) 0%, rgba(0, 22, 169, 0.5) 100%);
    border-color: var(--yellow-color);
    border-color: var(--yellow-color);
}

.highlight-item-card:hover::before {
    opacity: 1;
}

.highlight-item-title {
    color: var(--white-color);
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.highlight-item-title span {
    color: var(--cyan-color);
    display: block;
}

.highlight-item-desc {
    color: var(--white-color);
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.highlight-item-link {
    margin-top: auto;
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
}

.circle-arrow-link {
    width: 100px;
    height: 100px;
    background: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 20px;
    text-decoration: none;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
}

.circle-arrow-link .icon-img {
    width: auto;
    height: auto;
    transition: 0.4s;
}

.arrow-hover {
    position: absolute;
    opacity: 0;
    transform: translateX(-10px);
    transition: 0.4s;
}

.arrow-hover .fa {
    font-size: 30px;
    font-weight: 400;
}

.highlight-item-card:hover .circle-arrow-link {
    background: var(--yellow-color);
    padding-left: 0;
}

.highlight-item-card:hover .circle-arrow-link .icon-img {
    opacity: 0;
    transform: translateX(10px);
}

.highlight-item-card:hover .circle-arrow-link .arrow-hover {
    opacity: 1;
    transform: translateX(0);
}

/* =========================================
   TESTIMONIALS SECTION
   ========================================= */

.common-section {
    background: #fff url(../images/what-new.jpg) repeat center;
    position: relative;
}

.testimonials-dynamic .slick-slide {
    margin: 0 20px;
}

.testimonials-dynamic .slick-list {
    margin: 0 -20px;
}

.testi-inner-card {
    border: 1px solid #0021c5;
    background-color: #ffffff;
    padding: 50px;
    border-radius: 30px 0 30px 30px;
    position: relative;
    margin: 0;
    min-height: 350px;
}

.testi-msg {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.testi-profile {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.profile-thumb {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.profile-thumb img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.profile-meta .name {
    margin: 0;
    font-weight: 500;
    color: var(--primary-color);
}

.profile-meta .designation {
    margin: 0;
    font-size: 14px;
    display: block;
}

@media (max-width: 991px) {
    .profile-meta .name {
        font-size: 24px;
    }
}

@media (max-width: 767px) {
    .profile-meta .name {
        font-size: 20px;
    }
}

.profile-meta .location {
    margin: 5px 0 0;
    color: #777;
}

.quote-bg {
    position: absolute;
    bottom: -2px;
    right: 40px;
    background: var(--white-color);
}

.testimonials-page-section .testimonial-list-item {
    height: 100%;
}

.testimonials-page-section .testi-inner-card {
    margin: 0;
    /* Box spacing handled by col grid */
    transition: all 0.4s ease;
    height: 100%;
}

.testimonials-page-section .testi-inner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(49, 55, 128, 0.1) !important;
}

.testimonials-page-section .testi-msg {
    -webkit-line-clamp: unset;
    line-clamp: unset;
    overflow: visible;
    height: auto;
}

.admission-cta-banner {
    background: var(--primary-color) url(../images/more-bg.jpg) no-repeat center center;
    background-size: 100% 100%;
}

.cta-info a {
    text-decoration: none;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--white-color);
    transition: 0.3s;
    color: var(--white-color);
}

.cta-info a:hover {
    color: var(--cyan-color);
    text-decoration: none;
    border-color: var(--cyan-color);
    padding-bottom: 2px;
}


/* =========================================
   ALUMNI SECTION
   ========================================= */
.alumni-success {
    background: #f8f8f8;
}

.alumni-success .slick-slide {
    margin: 0 20px;
}

.alumni-success .slick-list {
    margin: 0 -20px;
}

.alumni-inner-card {
    background: #fff;
    border: 1px solid #0021c5;
    padding: 50px;
    border-radius: 30px 0 30px 30px;
    position: relative;
    margin: 10px;
}

.alumni-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
}

.alumni-name {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.alumni-location {
    font-size: 14px;
    color: #777;
    margin: 0;
    border-bottom: 1px solid var(--primary-color);
    display: inline;
}



.alumni-meta {
    font-size: 12px;
    color: #777;
    margin: 10px 0 0 0;
}

.alumni-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
}

.alumni-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.alumni-content {
    color: #555;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.quote-icon-bottom {
    position: absolute;
    bottom: -10px;
    right: 40px;
    background: var(--white-color);
}

/* =========================================
   GALLERY SECTION
   ========================================= */
.photo-gallery-module {
    background: #fff url(../images/what-new.jpg) repeat center;
    position: relative;
    overflow: hidden;
}

.photo-gallery-module .gallery-header {
    position: relative;
}

.gallery-cta {
    position: absolute;
    right: 0;
    top: 0;
}

.gallery-grid-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.6fr;
    grid-template-rows: repeat(2, 240px);
    gap: 15px;
}

.gallery-grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #f0f0f0;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Specific item placement to match design (7 items) */
.gallery-grid-item.item-1 {
    grid-column: 1;
    grid-row: 1;
}

.gallery-grid-item.item-2 {
    grid-column: 2;
    grid-row: 1;
}

.gallery-grid-item.item-3 {
    grid-column: 3;
    grid-row: 1;
}

.gallery-grid-item.item-4 {
    grid-column: 1;
    grid-row: 2;
}

.gallery-grid-item.item-5 {
    grid-column: 2;
    grid-row: 2;
}

.gallery-grid-item.item-6 {
    grid-column: 3;
    grid-row: 2;
}

.gallery-grid-item.item-7 {
    grid-column: 4;
    grid-row: 1 / span 2;
    border-radius: 20px;
}

.gallery-item-link {
    display: block;
    width: 100%;
    height: 100%;
}

.gallery-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.gallery-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(49, 55, 128, 0.82);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    padding: 30px;
    z-index: 2;
}

.overlay-content {
    text-align: center;
    transform: translateY(30px);
    transition: transform 0.5s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.gallery-title {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    text-transform: capitalize;
    letter-spacing: 0.5px;
}

/* Hover effects */
.gallery-grid-item:hover {
    box-shadow: 0 15px 40px rgba(49, 55, 128, 0.3);
    transform: translateY(-5px);
}

.gallery-grid-item:hover .gallery-hover-overlay {
    opacity: 1;
}

.gallery-grid-item:hover .overlay-content {
    transform: translateY(0);
}

.gallery-grid-item:hover img {
    transform: scale(1.12);
}

/* Responsive */


/* =========================================
   ACHIEVERS PAGE
   ========================================= */
.sub-section-title {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
}

.sub-section-title span {
    color: #555;
    font-weight: 400;
}

.sub-section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 45px;
    height: 4px;
    background: var(--yellow-color);
    border-radius: 2px;
}

.achiever-feature-card {
    border-radius: 20px;
}

.achiever-main-img {
    padding: 20px;
    border-radius: 16px 0px 16px 16px;
    overflow: hidden;
    height: auto;
    background: #ededeb;
}

.achiever-main-img img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
}

.achievement-small-card:hover {
    transform: translateY(-8px);
}

.achievement-small-card .card-thumb {
    overflow: hidden;
    border-radius: 20px 0px 20px 20px;
    height: 190px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.achievement-small-card .card-thumb img {
    transition: transform 0.6s ease;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: cover;
    object-position: top;
}

.achievement-title {
    color: var(--text-color);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.achievement-date,
.memory-date {
    font-size: 13px;
    color: #999;
    display: block;
    font-weight: 500;
}

.memory-horizontal-card {
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    height: 100%;
}

.memory-horizontal-card:hover {
    transform: translateX(5px);
}

.memory-thumb {
    flex-shrink: 0;
    width: 110px;
    height: 80px;
    overflow: hidden;
    border-radius: 10px 0px 10px 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.memory-thumb img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: cover;
    object-position: top;
}

.memory-info {
    flex: 1;
}

.memory-title {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--text-color);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =========================================
   EVENTS PAGE
   ========================================= */
.inner-banner,
.events-page-section,
.achievers-main-content,
.advance-news {
    background: #fff url(../images/what-new.jpg) repeat center;
}

.events-page-section .row,
.achievers-main-content .row {
    margin-left: -20px;
    margin-right: -20px;
}

.events-page-section .col-lg-4,
.achievers-main-content .col-lg-6 {
    padding-left: 20px;
    padding-right: 20px;
}

.event-card-large {
    transition: all 0.3s ease;
}

.event-card-large:hover {
    transform: translateY(-4px);
}

.event-card-large .card-thumb {
    height: 280px;
    overflow: hidden;
    border-radius: 20px 0px 20px 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.event-card-large .card-thumb img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s ease;
}

.event-card-large .card-thumb:hover img {
    transform: scale(1.1);
}

.event-card-large .event-title {
    color: var(--text-color);
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-card-large .event-date {
    display: block;
    color: #999;
    font-size: 14px;
    margin-bottom: 10px;
}

.event-card-large .event-excerpt {
    color: #666;
    line-height: 1.6;
    font-size: 15px;
}

/* Small List Item (Horizontal) */
.event-item-small {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.event-item-small:hover {
    transform: translateY(-4px);
}

.event-item-small:last-child {
    margin-bottom: 0;
}

.event-item-small .item-thumb {
    width: 110px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 10px 0px 10px 10px;
    overflow: hidden;
}

.event-item-small .item-thumb img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s ease;
}

.event-item-small .item-thumb:hover img {
    transform: scale(1.1);
}

.event-item-small .item-title {
    color: var(--text-color);
    margin-bottom: 3px;
}

.event-item-small .item-date {
    color: #999;
    font-size: 13px;
}

.upcoming-events-module {
    background: var(--yellow-color);
    padding: 15px 25px;
    border-radius: 20px 0px 20px 20px;
}

.upcoming-events-module .section-title {
    margin-bottom: 20px;
}

.upcoming-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 15px;
    margin-bottom: 15px;
    transition: 0.3s;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.upcoming-row:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(254, 203, 0, 0.3);
    background-color: rgba(255, 255, 255, 0.1);
}

.upcoming-row:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.upcoming-events-module .date-badge {
    background: var(--white-color);
    width: 66px;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    flex-shrink: 0;
    box-shadow: none;
    height: auto;
}

.upcoming-events-module .day {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    display: block;
    margin-bottom: 0;
}

.upcoming-events-module .month {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 700;
    color: #a100be;
    margin-bottom: 0;
    padding-bottom: 1px;
    border-bottom: 1px solid #b2b2b2;
    display: block;
    margin-top: -5px;
}

.upcoming-events-module .year {
    font-size: 14px;
    color: #888888;
    margin: 0;
    display: block;
}

.upcoming-events-module .upcoming-title p {
    margin: 0;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.text-navy {
    color: var(--primary-color) !important;
}

.text-purple {
    color: #a100be !important;
}

.bg-yellow {
    background-color: var(--yellow-color) !important;
}

.fw-900 {
    font-weight: 900;
}

.section-title.no-after::after {
    display: none;
}

.event-featured-card .card-image img {
    height: 350px;
    width: 100%;
    object-fit: cover;
}

.item-thumb {
    height: 80px;
    overflow: hidden;
    border-radius: 8px;
}

.item-thumb img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.upcoming-events-container {
    border-radius: 30px !important;
}

.date-badge-wrapper {
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.event-card-title {
    line-height: 1.2;
    transition: 0.3s;
}

.event-card-title:hover {
    color: var(--blue-color);
}

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

/* Event Link Hover Effects */
.event-title a,
.item-title a,
.upcoming-title p a,
.event-text p a {
    color: inherit;
    text-decoration: none;
    transition: 0.3s;
}

.event-title a:hover,
.item-title a:hover,
.upcoming-title p a:hover,
.event-text p a:hover {
    color: var(--primary-color);
}

/* Specific override for upcoming/calendar where background is yellow or white */
.upcoming-events-module .upcoming-title p a:hover,
.events-listing-box .event-text p a:hover {
    color: #a100be;
    /* Purple hover for better contrast on yellow/white */
}

/* Image Hover Zoom */
.card-thumb a,
.item-thumb a {
    display: block;
    overflow: hidden;
    height: 100%;
}

.card-thumb a img,
.item-thumb a img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-thumb a:hover img,
.item-thumb a:hover img {
    transform: scale(1.1);
}

/* Achievement Page Hover Effects */
.achievement-title a,
.memory-title a,
.achiever-footer h4 a {
    color: inherit;
    text-decoration: none;
    transition: 0.3s;
}

.achievement-title a:hover,
.memory-title a:hover {
    color: var(--primary-color);
}

.achiever-footer h4 a:hover {
    color: #a100be;
}

/* Achievement Image Hover Zoom */
.achiever-main-img a,
.achievement-small-card .card-thumb a,
.memory-horizontal-card .memory-thumb a {
    display: block;
    overflow: hidden;
    border-radius: inherit;
}

.achiever-main-img a img,
.achievement-small-card .card-thumb a img,
.memory-horizontal-card .memory-thumb a img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.achiever-main-img a:hover img,
.achievement-small-card .card-thumb a:hover img,
.memory-horizontal-card .memory-thumb a:hover img {
    transform: scale(0.95);
}

/* Achievement Cards - Match Event Page Styling */
.achievement-small-card {
    background: #fff;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    margin-bottom: 15px;
}

.achievement-small-card:hover {
    transform: translateY(-4px);
}

.achievement-small-card .card-thumb {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.achievement-small-card .card-thumb a {
    display: block;
    width: 100%;
    height: 100%;
}

.achievement-small-card .card-thumb a:hover img {
    transform: scale(1.1);
}

.achievement-small-card .card-body {
    padding: 15px 0;
}

.achievement-small-card .achievement-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.achievement-small-card .achievement-date {
    display: block;
    color: #999;
    font-size: 13px;
}

/* Memory Horizontal Cards */
.memory-horizontal-card {
    display: flex;
    gap: 15px;
    padding: 0;
    transition: all 0.3s ease;
}

.memory-horizontal-card:hover {
    transform: translateY(-4px);
}

.memory-horizontal-card .memory-thumb {
    width: 100px;
    height: 75px;
    flex-shrink: 0;
    overflow: hidden;
}

.memory-horizontal-card .memory-thumb a {
    display: block;
    width: 100%;
    height: 100%;
}

.memory-horizontal-card .memory-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.memory-horizontal-card .memory-thumb a:hover img {
    transform: scale(1.1);
}

.memory-horizontal-card .memory-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.memory-horizontal-card .memory-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.memory-horizontal-card .memory-date {
    color: #999;
    font-size: 13px;
}

.video-slider-section {
    padding-bottom: 30px;
}

.video-slide {
    padding: 0 15px;
}

.video-card {
    position: relative;
    border-radius: 25px 0px 25px 25px;
    overflow: hidden;
}

.video-thumb {
    position: relative;
    height: 350px;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 0, 0, 0.9);
    width: 76px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}

.play-btn i {
    color: #fff;
    font-size: 20px;
}

.video-section .slick-dots li button:before {
    background: var(--white-color)
}

.video-section .slick-dots li.slick-active button:before {
    background: var(--cyan-color);
}

/* Hover Effect */
.video-card:hover .play-btn {
    background: #ff0000;
    transform: translate(-50%, -50%) scale(1.1);
}


.video-content {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 25px 25px;
    background: linear-gradient(to top, rgba(0, 0, 0, 1), transparent);
    text-align: center;
}

.video-content h4 {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    margin: 0;
}

.oldmemories-section {
    background: #fff url(../images/what-new.jpg) repeat center;
}

.oldmemories-section .event-card-large .card-thumb {
    height: 190px;
}

/* Congratulations Title */
.congratulations-title {
    color: var(--text-color);
    margin: 0;
}


/* Alumni Page */
.alumni-banner-area {
    position: relative;
    height: 50vh;
    min-height: 600px;
    background: var(--primary-color);
    overflow: hidden;
}

/* Background Overlay */
.alumni-slider .item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(49, 55, 131, 0.85) 0%,
            rgba(49, 55, 131, 0.65) 40%,
            rgba(49, 55, 131, 0.3) 70%,
            rgba(49, 55, 131, 0) 100%);
    z-index: 1;
}

.alumni-slider .item {
    position: relative;
    overflow: hidden;
}

.alumni-slider .image-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1);
    transition: transform 10s linear;
    z-index: 0;
    display: block;
    will-change: transform;
}

.alumni-slider .slick-active .image-slide {
    transform: scale(1.15);
}

.alumni-banner-area .overlay {
    width: 100%;
    height: 100%;
    pointer-events: auto;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.alumni-banner-area .caption {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 2;
    color: var(--white-color);
    pointer-events: none;
}

.alumni-banner-area h1 {
    font-weight: 600;
    line-height: 1.1;
    color: var(--white-color);
    margin-bottom: 15px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.alumni-banner-description p {
    font-size: 18px;
    line-height: 1.5;
    color: var(--white-color);
    font-weight: 300;
    margin: 0;
}

.alumni-slider .slick-dots {
    bottom: 30px;
    z-index: 5;
    max-width: 1480px;
    left: 50%;
    transform: translateX(-50%);
    justify-content: flex-end;
}

.alumni-slider,
.alumni-slider .slick-list,
.alumni-slider .slick-track,
.alumni-slider .item {
    height: 100%;
}

.alumni-slider .slick-dots li button:before {
    background: var(--yellow-color);
}

.alumni-slider .slick-dots li.slick-active button:before {
    background: var(--white-color);
}

.message-alumni-section {
    background: #fff url(../images/what-new.jpg) repeat center;
}

.message-alumni-section .row {
    margin-left: -20px;
    margin-right: -20px;
}

.message-alumni-section .col-lg-5,
.message-alumni-section .col-lg-4,
.message-alumni-section .col-lg-3 {
    padding-left: 20px;
    padding-right: 20px;
}

.message_alumni-item {
    position: relative;
}

.message_alumni-item p {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 20px;
    text-indent: 60px;
    /* pushes only first line */
}

/* Top-left quote */
.message_alumni-item::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    width: 40px;
    height: 40px;
    background: url('../images/quate-1.png') no-repeat center;
    background-size: contain;
}

/* Bottom-right quote */
.message_alumni-item::after {
    content: "";
    position: absolute;
    bottom: -10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background: url('../images/quate.png') no-repeat center;
    background-size: contain;
}

.alumni-card {
    position: relative;
    border-radius: 20px 0px 20px 20px;
    overflow: hidden;
    height: 480px;
    background: var(--primary-color);
    margin: 15px 10px;
}

/* Image */
.alumni-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Dark overlay strip */
.alumni-info-area {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px 25px 30px;

    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.9) 0%,
            rgba(0, 0, 0, 0.6) 50%,
            rgba(0, 0, 0, 0) 100%);

    color: #fff;
}

.alumni-info-area h4 {
    margin: 0 0 5px;
    color: var(--white-color);
}

.alumni-info-area p {
    margin: 0;
    opacity: 0.9;
    line-height: 1.4;
    color: var(--white-color);
}

/* Batch */
.alumni-info-area span {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: var(--yellow-color);
    font-weight: 600;
}

.notable-alumni .slick-dots {
    bottom: -30px;
}

.notable-alumni .slick-dots li button:before {
    background: rgba(255, 255, 255, 0.3);
}

.notable-alumni .slick-dots li.slick-active button:before {
    background: var(--yellow-color);
    opacity: 1;
}

.notable-alumni .slick-list {
    margin: 0 -10px;
}

.notable-alumni .slick-slide {
    padding: 0 10px;
}


/* Team page */
.team-card {
    margin-top: 0;
}

.team-card-inner {
    display: flex;
    align-items: center;
    background: #fdfdfd;
    border: 1px solid #f0f0f0;
    border-radius: 25px 0 25px 25px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
    transition: all 0.4s ease;
    margin-bottom: 30px;
    height: calc(100% - 30px);
}

.team-card-inner:hover {
    background: #ffffff;
    box-shadow: 0 12px 35px rgba(49, 55, 128, 0.08);
    transform: translateY(-5px);
}

.team-image {
    width: 180px;
    height: 220px;
    border-radius: 20px 0 20px 20px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-content {
    flex: 1;
    padding-left: 25px;
}

.team-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 12px;
}

.team-contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.team-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #666;
}

.team-designation i {
    width: 16px;
    color: var(--primary-color);
    font-size: 16px;
}

.team-info-item i {
    width: 16px;
    color: var(--primary-color);
    font-size: 16px;
}

.team-info-item a {
    color: #666;
    transition: 0.3s;
}

.team-info-item a:hover {
    color: var(--primary-color);
}

/* Directory Slider Styles */
.directory-slider-wrapper {
    position: relative;
    overflow: hidden;
}

.directory-item {
    padding: 10px;
}

.directory-card {
    background: #fdfdfd;
    border: 1px solid #f0f0f0;
    border-radius: 20px 0 20px 20px;
    padding: 15px 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.4s ease;
    text-align: center;
    height: 100%;
}

.directory-card:hover {
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(49, 55, 128, 0.08);
    transform: translateY(-5px);
}

.directory-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 15px 0 15px 15px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    height: 225px;
}

.directory-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.directory-card:hover .directory-image img {
    transform: scale(1.1);
}

.directory-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 5px;
    line-height: 1.2;
}

.directory-batch {
    display: block;
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 400;
    margin-bottom: 10px;
}

/* Compact Contact Info for Slider */
.team-contact-info.compact {
    gap: 5px;
    margin-top: 10px;
    border-top: 1px solid #f0f0f0;
    padding-top: 10px;
}

.team-contact-info.compact .team-info-item {
    font-size: 12px;
    gap: 8px;
    justify-content: center;
}

.team-contact-info.compact .team-info-item i {
    font-size: 12px;
    width: 12px;
}

.team-contact-info.compact .team-info-item a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}


/* =========================================
   GALLERY PAGE STYLES 
   ========================================= */
.album-page-section {
    background: #fff url(../images/what-new.jpg) repeat center;
}

.album-item-card {
    background: #ffffff;
    border-radius: 20px 0 20px 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.album-item-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px rgba(49, 55, 128, 0.12);
    border-color: var(--primary-color);
}

.album-thumb {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.album-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.album-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(49, 55, 128, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.album-overlay i {
    color: #fff;
    font-size: 30px;
    transform: scale(0.5);
    transition: all 0.4s ease;
}

.album-item-card:hover .album-thumb img {
    transform: scale(1.1);
}

.album-item-card:hover .album-overlay {
    opacity: 1;
}

.album-item-card:hover .album-overlay i {
    transform: scale(1);
}

.album-content {
    padding: 20px;
}

.album-title {
    margin: 0;
    line-height: 1.4;
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.album-title a {
    color: var(--primary-color);
    text-decoration: none;
}

.album-title a:hover {
    color: var(--cyan-color);
}

/* Single Gallery Template Styles */
.album-single-section {
    background: #fff url(../images/what-new.jpg) repeat center;
}

.album-article-box {
    margin: 0;
}

.album-sidebar {
    background: #dcedff;
    padding: 20px;
    border-radius: 20px 0 20px 20px;
    border: 1px solid #f0f0f0;
}

.sidebar-heading span {
    color: var(--cyan-color);
}

.sidebar-album-card {
    display: flex;
    gap: 12px;
    text-decoration: none !important;
    background: #fff;
    border: 1px solid #eee;
    padding: 10px;
    border-radius: 12px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.sidebar-album-card:last-child {
    margin-bottom: 0;
}

.sidebar-thumb {
    width: 80px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 8px 0 8px 8px;
    overflow: hidden;
}

.sidebar-thumb img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: cover;
}

.sidebar-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sidebar-album-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-album-card:hover {
    transform: translateX(5px);
    border-color: var(--primary-color);
}

.sidebar-album-card.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.sidebar-album-card.active .sidebar-album-title {
    color: #fff;
}

/* Bottom Links Grid */
.album-links-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 10px;
}

.album-links-grid li a {
    display: block;
    padding: 10px;
    font-size: 14px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.album-links-grid li a i {
    color: var(--primary-color);
    margin-right: 8px;
}

.album-links-grid li a:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.album-links-grid li a:hover i {
    color: var(--yellow-color);
}

@media (max-width: 991px) {
    .album-article-box {
        padding: 25px;
    }

    .album-sidebar {
        margin-top: 40px;
    }
}


/* =========================================
   GALLERY PAGE STYLES 
   ========================================= */
.album-page-section {
    background: #fff url(../images/what-new.jpg) repeat center;
}

.album-item-card {
    background: #ffffff;
    border-radius: 20px 0 20px 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.album-item-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px rgba(49, 55, 128, 0.12);
    border-color: var(--primary-color);
}

.album-thumb {
    position: relative;
    height: 230px;
    overflow: hidden;
}

.album-thumb img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.album-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(49, 55, 128, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.album-overlay i {
    color: #fff;
    font-size: 30px;
    transform: scale(0.5);
    transition: all 0.4s ease;
}

.album-item-card:hover .album-thumb img {
    transform: scale(1.1);
}

.album-item-card:hover .album-overlay {
    opacity: 1;
}

.album-item-card:hover .album-overlay i {
    transform: scale(1);
}

.album-content {
    padding: 20px;
}

.album-title {
    margin: 0 0 0;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.album-title a {
    color: var(--primary-color);
    text-decoration: none;
}

.album-title a:hover {
    color: var(--cyan-color);
}

html body .modula .modula-items .modula-item .modula-item-content {
    border-radius: 15px 0 15px 15px;
    overflow: hidden;
}


/* =========================================
   Campus PAGE STYLES 
   ========================================= */

.campus-banner-area {
    position: relative;
    height: 50vh;
    min-height: 600px;
    background: var(--primary-color);
    overflow: hidden;
}

/* Background Overlay */
.campus-slider .item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(49, 55, 131, 0.85) 0%,
            rgba(49, 55, 131, 0.65) 40%,
            rgba(49, 55, 131, 0.3) 70%,
            rgba(49, 55, 131, 0) 100%);
    z-index: 1;
}

.campus-slider .item {
    position: relative;
    overflow: hidden;
}

.campus-slider .image-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1);
    transition: transform 10s linear;
    z-index: 0;
    display: block;
    will-change: transform;
}

.campus-slider .slick-active .image-slide {
    transform: scale(1.15);
}

.campus-banner-area .overlay {
    width: 100%;
    height: 100%;
    pointer-events: auto;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.campus-banner-area .caption {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 2;
    color: var(--white-color);
}

.campus-banner-area h1 {
    font-weight: 600;
    line-height: 1.1;
    color: var(--white-color);
    margin-bottom: 15px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.campus-banner-description p {
    font-size: 18px;
    line-height: 1.5;
    color: var(--white-color);
    font-weight: 300;
    margin: 0;
}

.campus-banner-area .banner-actions {
    display: inline-flex;
    margin-left: 10px;
    vertical-align: middle;
}

.campus-slider .slick-dots {
    bottom: 30px;
    z-index: 5;
    max-width: 1480px;
    left: 50%;
    transform: translateX(-50%);
    justify-content: center;
}

.campus-slider,
.campus-slider .slick-list,
.campus-slider .slick-track,
.campus-slider .item {
    height: 100%;
}

.campus-slider .slick-dots li button:before {
    background: var(--yellow-color);
}

.campus-slider .slick-dots li.slick-active button:before {
    background: var(--white-color);
}

/* =========================================
   CAMPUS PAGE SECTION
   ========================================= */
.campus-item-card {
    text-align: center;
    margin-bottom: 40px;
}

.campus-list-link {
    text-decoration: none !important;
    display: block;
}

.campus-image-thumb {
    width: 250px;
    height: 250px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 8px solid #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.2, 0.6, 0.2, 1);
    z-index: 1;
}

/* Primary Color Overlay */
.campus-image-thumb::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(49, 55, 128, 0.7) !important;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 2;
    /* Increased to ensure it's above image */
}

.campus-image-thumb img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: cover;
    transition: all 0.8s cubic-bezier(0.2, 0.6, 0.2, 1);
    position: relative;
    z-index: 1;
}

.campus-list-link:hover .campus-image-thumb {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(49, 55, 128, 0.25);
    border-color: var(--yellow-color);
}

.campus-list-link:hover .campus-image-thumb::after {
    opacity: 1;
}

.campus-list-link:hover .campus-image-thumb img {
    transform: scale(1.15) rotate(2deg);
}

.campus-list-link .arrow-hover {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
    color: #fff;
    font-size: 50px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 3;
    /* Above overlay */
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.campus-list-link:hover .arrow-hover {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    color: var(--yellow-color);
}

.campus-item-title {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    transition: all 0.4s ease;
    position: relative;
    display: inline-block;
}

.campus-item-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -5px;
    width: 0;
    height: 3px;
    background: var(--yellow-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.campus-list-link:hover .campus-item-title {
    color: var(--primary-color);
    transform: scale(1.05);
}

.campus-list-link:hover .campus-item-title::after {
    width: 100%;
}

/* =========================================
   CAMPUS DETAIL MODAL (Fancybox)
   ========================================= */
.campus-detail-modal {
    max-width: 900px;
    width: 100%;
    max-height: 85dvh;
    padding: 0 !important;
    border-radius: 25px !important;
    background: #ffffff !important;
    /* Force Solid White Background */
    display: none;
    overflow-y: auto;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
}

/* Custom Scrollbar for Modal */
.campus-detail-modal::-webkit-scrollbar {
    width: 8px;
}

.campus-detail-modal::-webkit-scrollbar-track {
    background: #f8f8f8;
    border-radius: 0 25px 25px 0;
}

.campus-detail-modal::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.modal-banner {
    position: relative;
    height: 450px;
    overflow: hidden;
    flex-shrink: 0;
}

.modal-banner-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.modal-body-content {
    padding: 50px 60px;
    background: #fff url(../images/modal-bg.jpg) no-repeat center;
    background-size: cover;
}

.modal-item-title {
    color: var(--primary-color);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.campus-description {
    font-size: 15px;
    line-height: 1.3 !important;
    color: #444;
}

/* Fix Double Bullet Issue */
.campus-detail-modal .default-page-sec ul li {
    list-style: none;
    padding-left: 30px;
}

.campus-detail-modal .default-page-sec ul li::before {
    content: "\f111";
    /* FontAwesome circle */
    font-family: "FontAwesome";
    position: absolute;
    left: 0;
    top: 6px;
    font-size: 10px;
    color: var(--primary-color) !important;
}

.campus-modal-gallery {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #b0c6dd;
}

.modal-gallery-item {
    overflow: hidden;
    border-radius: 12px;
    height: 200px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.modal-gallery-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: all 0.5s ease;
}

.modal-gallery-item:hover img {
    transform: scale(1.1);
}

.modal-body-content .default-page-sec {
    min-height: inherit;
}

.lightweight-accordion {
    margin-bottom: 0 !important;
    border: none !important;
    border-bottom: 1px solid #aac9eb !important;
    border-radius: 0;
    background: transparent !important;
}

.lightweight-accordion[open] {
    background: transparent !important;
}

.lightweight-accordion summary {
    padding: 10px 0 !important;
    padding-left: 25px !important;
    font-size: 18px;

    color: var(--primary-color);
    background: transparent !important;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block !important;
    position: relative;
    list-style: none !important;
}

.lightweight-accordion summary span {
    font-weight: 600 !important;
}

.lightweight-accordion summary::-webkit-details-marker {
    display: none !important;
}

.lightweight-accordion summary::marker {
    display: none !important;
    content: "" !important;
}

.lightweight-accordion summary::before {
    display: block !important;
    content: "\f105" !important;
    font-family: "FontAwesome" !important;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: 400;
    color: var(--primary-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightweight-accordion[open] summary {
    color: #e31e24;
}

.lightweight-accordion[open] summary::before {
    transform: translateY(-50%) rotate(90deg);
    color: #e31e24;
}

.lightweight-accordion .lightweight-accordion-body {
    padding: 5px 0 20px 25px !important;
    font-size: 16px;
    line-height: 1.7;
    color: #444;
}

.lightweight-accordion .lightweight-accordion-body p {
    margin: 0;
}

.fancybox-content {
    background: transparent !important;
    padding: 0 !important;
}

/* Accdemic page */
.accordion-container {
    margin-bottom: 30px;
}

.accordion-head {
    cursor: pointer;
    padding: 15px 50px 15px 20px;
    border: 1px solid #dee2e6;
    margin-bottom: 15px;
    background: #e9eef5;
    color: var(--primary-color);
    position: relative;
    font-size: 24px;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.accordion-head::after {
    content: "\f067";
    font-family: "FontAwesome";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.accordion-head.active {
    border-bottom: 0;
    color: var(--primary-color);
    background: #e9eef5;
    margin-bottom: 0;
    border-radius: 5px 5px 0 0;
}

.accordion-head.active::after {
    content: "\f068";
}

.accordion-body {
    background: #ffffff;
    display: none;
    border: 1px solid #dee2e6;
    border-top: 0;
    padding: 30px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-color);
    font-weight: 400;
    border-radius: 0 0 5px 5px;
}

.accordion-body .row {
    margin-left: -35px;
    margin-right: -35px;
}

.accordion-body .col-md-6 {
    padding-left: 35px;
    padding-right: 35px;
}


.advance-news {
    font-size: 16px;
    line-height: 25px;
    min-height: calc(100vh - 300px);
}

.advance-news h2 {
    text-transform: uppercase;
    font-weight: 700;
}

.advance-news p:not(:last-child) {
    margin-bottom: 20px;
}

.accordian_single_conent:not(:last-child) {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #dadada;
}

.accordian_single_conent h3 {
    color: #29466b;
    margin-top: 25px;
    font-weight: bold;
    margin-bottom: 8px;
}

.accordian_single_conent .image_area {
    margin-bottom: 25px;
    margin-top: 25px;
}

.accordian_single_conent .image_row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

.accordian_single_conent .image_col {
    width: 50%;
    padding-left: 15px;
    padding-right: 15px;
    height: 351px;
}

.accordian_single_conent .image_col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.newsSideRight {
    border: 0;
    padding-top: 6px;
}

.newsSideRight .newsSideTop {
    margin-bottom: 25px;
    border: 3px solid #cef7f6;
    background: #fff;
    -webkit-box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.3);
}

.newsSideRight .newsSideTop img {
    width: 100%;
    height: auto;
}

.image_caption {
    color: #a92121;
    font-size: 13px;
    padding-top: 4px;
    border-bottom: 1px solid #a92121;
}

.single_conent {
    padding-top: 10px;
}

.single_conent ul li,
.single_conent ol li {
    margin-left: 20px;
}

@media only screen and (max-width: 767px) {
    .accordian_single_conent .image_col {
        width: 100%;
        height: auto;
    }

    .accordian_single_conent .image_col:not(:last-child) {
        margin-bottom: 25px
    }
}

/* =========================================
   ABOUT PAGE REPEATER SECTION
   ========================================= */
.about-info-card {
    border: 1px solid var(--primary-color);
    background-color: #ffffff;
    padding: 40px;
    border-radius: 30px 0 30px 30px;
    position: relative;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

.about-card-gap {
    margin-bottom: 50px;
}

.about-repeater-row {
    margin-left: -25px;
    margin-right: -25px;
}

.about-repeater-row>[class*="col-"] {
    padding-left: 25px;
    padding-right: 25px;
}

.about-info-card:hover {
    border-color: var(--yellow-color);
    box-shadow: 0px 15px 35px rgba(49, 55, 128, 0.1);
}

.about-card-flex {
    display: flex;
    align-items: flex-start;
    gap: 25px;
}

.about-card-img-col {
    flex: 0 0 180px;
}

.about-card-content-col {
    flex: 1;
}

.about-info-card .card-image img {
    border-radius: 20px 0 20px 20px;
    width: 180px;
    height: 180px;
    object-fit: cover;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
}

.about-info-card:hover .card-image img {
    transform: scale(1.05);
}

.about-card-text {
    line-height: 1.6;
    color: var(--text-color);
    font-size: 14px;
}

.about-card-text h2,
.about-card-text h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 600;
}

/* =========================================
   PRINCIPAL MESSAGE SECTION
   ========================================= */
.principal-message-section {
    background-color: #fcfcfc;
}

.principal-portrait-wrapper {
    position: relative;
    padding-bottom: 30px;
}

.principal-frame {
    position: relative;
    border-radius: 30px 0 30px 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 5px solid var(--white-color);
}

.principal-frame img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: top;
    display: block;
}

.principal-badge {
    background-color: var(--primary-color);
    padding: 25px;
    text-align: center;
    border-top: 4px solid var(--yellow-color);
}

.principal-badge h3 {
    color: var(--yellow-color);
    font-size: 22px;
    margin-bottom: 5px;
    font-weight: 600;
}

.principal-badge p {
    color: var(--white-color);
    font-size: 14px;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.principal-content-area {
    position: relative;
}

.quote-icon {
    font-size: 60px;
    color: var(--yellow-color);
    opacity: 0.3;
    margin-bottom: -10px;
}

.message-body {
    font-size: 17px;
    line-height: 1.9;
    color: #444;
}

.message-body p {
    margin-bottom: 25px;
}

.principal-signature img {
    max-width: 200px;
    height: auto;
    filter: grayscale(1);
    opacity: 0.8;
}

@media (max-width: 991px) {
    .principal-portrait-wrapper {
        margin-bottom: 50px;
    }

    .principal-frame img {
        height: 400px;
    }

    .principal-content-area {
        padding-left: 0 !important;
    }

    .message-body {
        font-size: 16px;
    }
}

/* =========================================
   SKGF ABOUT PAGE (TRUSTEES) - PREMIUM UI
   ========================================= */
/* Section */
/* Section */
.skgf-section {
    padding: 60px 0;
}

/* Card */
.skgf-card {
    width: 100%;
    text-align: left;
}

/* Name */
.skgf-name {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 42px;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    text-align: left;
}

/* Content wrapper */
.skgf-info::after {
    content: "";
    display: block;
    clear: both;
}

/* Image */
.skgf-img-wrapper {
    float: left;
    width: 320px;
    height: 320px;
    margin: 0 30px 20px 0;
    overflow: hidden;
    border-radius: 10px;
}

.skgf-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Description */
.skgf-description {
    font-size: 16px;
    line-height: 1.9;
    color: #333;
    text-align: left;
}

.skgf-description p {
    margin-bottom: 18px;
}

/* Tablet */
@media (max-width: 991px) {

    .skgf-img-wrapper {
        width: 260px;
        height: 260px;
    }
}

/* Mobile */
@media (max-width: 767px) {

    .skgf-name {
        font-size: 34px;
    }

    .skgf-img-wrapper {
        float: none;
        width: 100%;
        height: auto;
        margin: 0 0 20px 0;
    }

    .skgf-img-wrapper img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .skgf-description {
        font-size: 15px;
        line-height: 1.8;
    }
}



.rector-section {
    background: url(../images/bg-3.jpg) no-repeat center center/cover;
}

.rector-img-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 35px;
}

.rector-img-wrapper img {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    border: 10px solid var(--white-color);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    position: relative;
}

.rector-img-wrapper::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border: 2px dashed var(--yellow-color);
    border-radius: 50%;
    opacity: 0.3;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.rector-card:hover .rector-img-wrapper img {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18);
}

.rector-name {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 42px;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.rector-designation {
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 15px;
    display: inline-block;
    padding-left: 15px;
    border-left: 4px solid var(--yellow-color);
    margin-top: 5px;
}

.rector-bio {
    font-size: 17px;
    line-height: 1.9;
    color: #4a4a4a;
    max-width: 800px;
    margin: 0 auto;
}

.trustees-section {
    padding-top: 50px;
    position: relative;
}

.trustee-grid-card {
    background: var(--white-color);
    padding: 40px 30px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(49, 55, 128, 0.05);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.02);
    height: 100%;
}

.trustee-grid-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(49, 55, 128, 0.1);
}

.trustee-grid-card .trustee-img-wrapper {
    margin-bottom: 25px;
}

.trustee-grid-card .trustee-img-wrapper img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    border: 8px solid #f8f9fa;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.trustee-grid-card .trustee-name {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 5px;
}

.trustee-grid-card .trustee-designation {
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: inline-block;
    background: rgba(254, 203, 0, 0.12);
    padding: 4px 15px;
    border-radius: 4px;
    border-left: 3px solid var(--yellow-color);
}

.trustee-bio-short {
    font-size: 14px;
    line-height: 1.7;
    color: #606060;
}

@media (max-width: 991px) {
    .rector-name {
        font-size: 32px;
    }

    .rector-bio {
        font-size: 16px;
    }

    .trustee-grid-card {
        padding: 30px 20px;
    }

    .trustee-grid-card .trustee-img-wrapper img {
        width: 150px;
        height: 150px;
    }
}

/* =========================================
   GHS TEAM PAGE POLISH
   ========================================= */
.team-grid-section {
    background-color: #ffffff;
}


/* =========================================
   GHS TEAM ALTERNATING CONTENT
   ========================================= */
.team-content-blocks {
    background-color: #ffffff;
}

.team-content-blocks .row {
    margin-bottom: 80px;
}

.team-content-blocks .row:last-child {
    margin-bottom: 0;
}

.block-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 30px 0 30px 30px;
    box-shadow: 0 15px 45px rgba(49, 55, 128, 0.08);
    transition: all 0.5s ease;
}

.block-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.block-image-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(49, 55, 128, 0.15);
}

.block-image-wrapper:hover img {
    transform: scale(1.05);
}

.block-text {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.block-text p {
    margin-bottom: 15px;
}

.sc-primary-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--white-color) !important;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(49, 55, 128, 0.2);
}

.sc-primary-btn:hover {
    background-color: var(--yellow-color);
    color: var(--primary-color) !important;
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(254, 203, 0, 0.3);
}

.sc-primary-btn i {
    transition: transform 0.3s ease;
}

.sc-primary-btn:hover i {
    transform: translateX(3px);
}

@media (max-width: 991px) {
    .team-content-blocks .row {
        margin-bottom: 50px;
        text-align: center;
    }

    .block-content-wrapper {
        padding: 0;
    }

    .flex-row-reverse {
        flex-direction: column !important;
    }
}


/* =====================================
   SLICK SLIDER FIXES
===================================== */

.testimonials-cpt-slider .slick-track,
.directory-slider .slick-track {
    display: flex !important;
}

.testimonials-cpt-slider .slick-slide,
.directory-slider .slick-slide {
    height: inherit !important;
}

.testimonials-cpt-slider .slick-slide>div,
.directory-slider .slick-slide>div {
    height: 100%;
}

/* spacing */
.testimonials-cpt-slider .slick-slide {
    padding: 0 15px;
}

.directory-slider .slick-slide {
    padding: 0 10px;
}

/* Custom Parent Modal CSS */
.read-more-btn {
    color: #00447c;
    font-weight: 600;
    text-decoration: underline;
    display: inline-block;
    margin-top: 5px;
}

.ghs-speak-modal {
    display: none;
    text-align: center;
    max-width: 600px;
    background-color: var(--white-color) !important;
    padding: 25px !important;
}

.ghs-speak-modal .modal-testi-profile {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.ghs-speak-modal .modal-profile-thumb {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    margin: 0 auto;
}

.ghs-speak-modal .modal-profile-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ghs-speak-modal .modal-name {
    margin: 0;
    font-size: 22px;
    color: #000;
    font-weight: 600;
}

.ghs-speak-modal .testi-msg-full {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    text-align: center;
}

.fancybox-container {
    z-index: 999999 !important;
}

.ghs-speak-modal {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
}

.read-more-btn img {
    width: 25px;
    height: auto;
    display: block;
    margin-top: 5px;
}


.read-more-btn img {
    transition: transform 0.3s ease;
}

.read-more-btn:hover img {
    transform: translateX(8px);
}

.route-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 15px;
}

.route-table td {
    padding: 15px;
    vertical-align: middle;
}

.route-name {
    background: #f2f2f2;
    font-weight: 700;
    color: #000;
    text-align: center;
    border-radius: 8px;
    width: 15%;
}

.route-details {
    width: 65%;
}

.route-button {
    width: 20%;
    text-align: right;
}

/* Mobile Responsive */
@media (max-width: 768px) {

    .route-table,
    .route-table tbody,
    .route-table tr,
    .route-table td {
        display: block;
        width: 100%;
    }

    .route-table tr {
        margin-bottom: 20px;
        border-bottom: 1px solid #ddd;
        padding-bottom: 15px;
    }

    .route-button {
        text-align: left;
    }
}

.page-id-1370 .skgf-description {font-size:20px;}
