﻿




/* Start Our Faculty %*/

#muFaculty.mu-faculty {
    --bg-start: #1D4E89; /* Royal Blue overlay start */
    --bg-end: #002147; /* Deep Navy overlay end */
    --card: #ffffff; /* White cards */
    --text: #002147; /* Deep Navy text */
    --muted: #555555; /* Neutral muted */
    --accent: #D4AF37; /* Gold accent */

    padding: 80px 20px;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../img/f3.jpg') center center / cover fixed no-repeat !important;
    /*background: linear-gradient(rgba(0, 33, 71, 0.95), rgba(29, 78, 137, 0.98)), url('../img/zz.png');*/ /* optional subtle bg texture */
    background-size: cover;
    color: var(--text);
    font-family: Inter, sans-serif;
    position: relative;
}


/* Rows */
#muFaculty .mu-row {
    display: grid;
    grid-template-columns: 28% 1fr;
    gap: 40px;
    margin-bottom: 70px;
    position: relative;
}

/* Left side with counter */
#muFaculty .mu-left {
    padding-left: 20px;
    position: relative;
    color:white;
}

    #muFaculty .mu-left::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background: linear-gradient(var(--accent), transparent);
        transform-origin: top;
        transform: scaleY(0);
        opacity: 0;
        transition: transform 4s ease-out, opacity 2s ease;
    }

    #muFaculty .mu-left.line-visible::before {
        transform: scaleY(1);
        opacity: 1;
    }

/* Counter */
#muFaculty .mu-percent {
    /* font-family: "Playfair Display", serif;*/

    font-family: "Outfit", sans-serif;
    font-weight: 700;
    margin: 0;
}

#muFaculty .mu-count {
    font-size: 64px;
    color: var(--accent);
    line-height: 1;
}

#muFaculty .mu-percent span:last-child {
    font-size: 28px;
    color: var(--accent);
}

#muFaculty .mu-left h3 {
    margin: 10px 0 5px;
    font-size: 28px;
    font-family: "Playfair Display", serif;
    color: var(--white);
}

#muFaculty .mu-left p {
    color: var(--warm-gray);
    font-size: 15px;
}

/* Right side (cards) */
#muFaculty .mu-right {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
    gap: 24px;
}

/* Cards */
#muFaculty .mu-card {
    background: var(--card);
    border-radius: 14px;
    overflow: hidden;
    text-align: center;
    transform: translateY(30px);
    opacity: 0;
    transition: transform .6s ease, box-shadow .3s ease, opacity .6s ease;
}

    #muFaculty .mu-card.is-visible {
        transform: translateY(0);
        opacity: 1;
    }

    #muFaculty .mu-card:hover {
        transform: translateY(-12px) scale(1.02);
        box-shadow: 0 18px 36px rgba(212,175,55,.35); /* gold glow */
    }

/* Image */
#muFaculty .mu-img {
    aspect-ratio: 4/3;
    background: #eaeaea;
}

    #muFaculty .mu-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

/* Meta text */
#muFaculty .mu-meta {
    padding: 15px;
}

    #muFaculty .mu-meta h4 {
        margin: 0 0 6px;
        font-size: 1.1rem;
        color: var(--deep-navy);
    }

#muFaculty .mu-role {
    margin: 0;
    color: var(--royal-blue);
    font-weight: 500;
}

#muFaculty .mu-brand {
    margin-top: 6px;
    font-size: .9rem;
    color: var(--charcoal);
    opacity: .85;
}

/* 📱 Mobile */
@media (max-width:768px) {
    #muFaculty .mu-row {
        grid-template-columns: 1fr;
    }

    #muFaculty .mu-left {
        text-align: center;
        padding-left: 20px;
        margin-bottom: 30px;
        position: relative;
    }

    #muFaculty .mu-right {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #muFaculty .mu-card {
        max-width: 320px;
        width: 100%;
    }
}




/* === Glow Animations === */
@keyframes goldGlow {
    0% {
        text-shadow: 0 0 0 rgba(212,175,55,0);
    }

    50% {
        text-shadow: 0 0 18px rgba(212,175,55,0.9);
    }

    100% {
        text-shadow: 0 0 0 rgba(212,175,55,0);
    }
}

@keyframes lineGlow {
    0% {
        box-shadow: 0 0 0 rgba(212,175,55,0);
    }

    50% {
        box-shadow: 0 0 18px rgba(212,175,55,0.9);
    }

    100% {
        box-shadow: 0 0 0 rgba(212,175,55,0);
    }
}

/* Applied dynamically */
.mu-left.glow .mu-count {
    animation: goldGlow 1.2s ease-out;
}

.mu-left.glow::before {
    animation: lineGlow 1.2s ease-out;
}


/* End Faculty Section */

/* Start Departments*/

/* ===== Departments Section ===== */
#departments {
    background: var(--warm-gray); /* soft backdrop */
    color: var(--charcoal);
}

    #departments h4 {
        color: var(--gold); /* gold accent subheading */
        letter-spacing: 1px;
        font-weight: 700;
        text-transform: uppercase;
        display: inline-block;
        position: relative;
    }

        #departments h4::after {
            content: "";
            display: block;
            width: 60px;
            height: 3px;
            background: var(--gold);
            margin: 8px auto 0;
            border-radius: 2px;
        }

    #departments h1 {
        color: var(--deep-navy);
        font-weight: 800;
    }

    /* Sidebar Menu */
    #departments .list-group-item {
        border: none;
        padding: 14px 18px;
        font-weight: 600;
        color: var(--deep-navy);
        background: #fff;
        transition: all 0.3s ease;
    }

        #departments .list-group-item:hover {
            background: var(--royal-blue);
            color: #fff;
        }

        #departments .list-group-item.active {
            background: var(--gold);
            color: var(--deep-navy);
            font-weight: 700;
            border-left: 4px solid var(--royal-blue);
        }

    /* Content Cards */
    #departments .tab-content {
        background: #fff;
        border: 1px solid #eee;
    }

    #departments .tab-pane h4 {
        color: var(--royal-blue);
        font-weight: 700;
        margin-bottom: 12px;
    }

    #departments .tab-pane p {
        color: var(--charcoal);
        font-size: 1rem;
        line-height: 1.6;
    }

    #departments img {
        border: 3px solid var(--gold);
        border-radius: 12px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

        #departments img:hover {
            transform: scale(1.05);
            box-shadow: 0 8px 20px rgba(0,0,0,0.15);
        }

/* Responsive */
@media (max-width: 991.98px) {
    #departments .list-group {
        margin-bottom: 20px;
    }
}


/*End Departments*/




* {
    user-select: none !important;
    -webkit-user-select: none !important;
    -ms-user-select: none !important;
}





/*start about*/
/* About Section Heading (like Feature) */
.about-kicker {
    position: relative;
    display: inline-block;
    font-weight: 700;
    letter-spacing: 1px;
}

    .about-kicker::after {
        content: "";
        display: block;
        width: 0;
        height: 3px;
        margin: 6px auto 0;
        background: var(--gold);
        border-radius: 2px;
        animation: underlineGrow 1s ease forwards;
    }

@keyframes underlineGrow {
    from {
        width: 0;
    }

    to {
        width: 60px;
    }
}

.about-title1 {
    color: var(--deep-navy);
}

.about-item .btn {
    background: #1D4E89;
    color: #fff;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

    .about-item .btn:hover {
        background: #D4AF37;
        color: #002147;
        box-shadow: 0 6px 16px rgba(212, 175, 55, 0.5); /* gold glow hover */
    }

/*End about*/

/* start timeline*/

/* ================= TIMELINE STYLING WITH RESPONSIVE ANIMATIONS ================= */

/* Service Cards */
.service-item {
    background: #fff;
    transition: transform 0.4s, box-shadow 0.4s;
    border-radius: 14px;
}

    .service-item:hover {
        transform: translateY(-8px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    }

.service-btn {
    background: var(--royal-blue); /* Royal Blue */
    border-radius: 50%;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Timeline Items */
.timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s ease;
}

    .timeline-item.visible {
        opacity: 1;
        transform: translateY(0);
    }

/* Dots */
.timeline-dot {
    width: 28px;
    height: 28px;
    background: var(--gold); /* Gold */
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    box-shadow: 0 0 0 rgba(212,175,55,0.5);
    z-index: 2;
}

.timeline-item.visible .timeline-dot {
    box-shadow: 0 0 15px rgba(212,175,55,.7);
}

.timeline-dot::before {
    content: "";
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(212,175,55,0.35);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.6);
    opacity: 0;
}

.timeline-item.visible .timeline-dot::before {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%,-50%) scale(0.6);
        opacity: 0.7;
    }

    100% {
        transform: translate(-50%,-50%) scale(1.6);
        opacity: 0;
    }
}

/* Connecting line */
.timeline-line {
    position: absolute;
    top: 28px;
    left: 14px;
    width: 2px;
    height: 0;
    background: linear-gradient(var(--royal-blue), var(--gold));
    transition: height 1.2s ease-out;
    z-index: 1;
}

.timeline-item.visible .timeline-line {
    height: 100px; /* adjust if spacing changes */
}


/* Timeline text */
.timeline-content h5 {
    margin: 0;
    font-weight: 700;
    color: var(--royal-blue);
}

.timeline-content p {
    margin: 5px 0 0;
    font-size: 0.95rem;
    color: #444;
}

/* === Mobile Overrides === */
@media (max-width: 991.98px) {
    .timeline-row {
        text-align: center;
        margin-bottom: 40px;
    }

    .timeline-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        transform: translateY(80px);
    }

        .timeline-item.visible {
            animation: slideUp 0.9s ease forwards;
        }

    .timeline-content {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .timeline-line {
        left: 50%;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(80px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}
/* Section background */
.about-premium {
    background: linear-gradient(135deg, #002147, #1D4E89);
    position: relative;
    overflow: hidden;
    color: #fff;
}

/* Glass content box */
.about-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #f5f5f5;
    position: relative;
}

/* Title styling */
.about-title {
    position: relative;
    color: #fff;
}

    .about-title::after {
        content: "";
        display: block;
        width: 60px;
        height: 4px;
        background: #D4AF37;
        margin-top: 10px;
        border-radius: 2px;
        animation: growLine 2s ease forwards;
    }

@keyframes growLine {
    from {
        width: 0;
    }

    to {
        width: 60px;
    }
}

.highlight {
    color: #FFD44D;
}

/* Decorative circle */
.decor-circle {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(212,175,55,0.25);
    filter: blur(5px);
    z-index: -1;
}

/* Animations */
.fade-slide-left {
    opacity: 0;
    transform: translateX(-60px);
    animation: fadeSlideLeft 1s ease forwards;
}

.fade-slide-right {
    opacity: 0;
    transform: translateX(60px);
    animation: fadeSlideRight 1s ease forwards;
}

@keyframes fadeSlideLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeSlideRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* end Timeline Section */

/* start video  */


/* end video*/

/* start Products*/


/* Product card */
.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

    .product-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 12px 28px rgba(0,0,0,0.15);
        border-color: var(--gold);
    }

    /* Card body */
    .product-card .card-body {
        padding: 1.5rem;
        background: var(--warm-gray);
    }

    .product-card p {
        margin-bottom: 8px;
        color: var(--charcoal);
    }



    /* Price */
    .product-card .product-price {
        font-size: 1.3rem;
        font-weight: 700;
        color: var(--royal-blue);
        margin-bottom: 1rem;
    }


/* Button */
.btn-product {
    background: var(--royal-blue);
    color: #fff;
    font-weight: 600;
    border-radius: 30px;
    padding: 0.5rem 1.25rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .btn-product:hover {
        background: var(--gold);
        color: var(--deep-navy);
    }

/* Equal program card images */
.program-img {
    height: 250px; /* fixed height */
    object-fit: cover; /* crops but keeps ratio */
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}
/* Fix description height for alignment */
.desc-text {
    min-height: 90px; /* adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
}


/* End Products */

/* start Happy clients*/


.counter {
    /*    background: linear-gradient(135deg, #002147, #1D4E89);
*/
    /* background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../img/gray.jpg') center center / cover fixed no-repeat !important;*/
   background:black;
    position: relative;
    overflow: hidden;
}

    .counter::before,
    .counter::after {
        content: "";
        position: absolute;
        border-radius: 50%;
        filter: blur(120px);
        opacity: 0.2;
    }

    .counter::before {
        width: 250px;
        height: 250px;
        top: -60px;
        left: -60px;
        background: #D4AF37;
    }

    .counter::after {
        width: 300px;
        height: 300px;
        bottom: -80px;
        right: -80px;
        background: #1D4E89;
    }

.counter-item {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
    transition: all 0.35s ease;
    border-top: 5px solid transparent;
}

    .counter-item:hover {
       /* transform: translateY(-12px) scale(1.03);*/
        border-top: 5px solid #D4AF37;
        box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    }

.counter-item-icon {
    width: 85px;
    height: 85px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #D4AF37, #e8c75c);
    color: #fff;
    font-size: 2.4rem;
    box-shadow: 0 6px 20px rgba(212,175,55,0.5);
    transition: transform 0.3s ease;
}

.counter-item:hover .counter-item-icon {
    transform: rotate(12deg) scale(1.12);
}

.counter-item h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #002147;
    margin-bottom: 1rem;
}

.counter-counting {
    font-size: 2.5rem;
    font-weight: 900;
    color: #D4AF37;
    text-shadow: 0 3px 10px rgba(212,175,55,0.6);
}

/* --- Responsive Counter Box (Mobile View) --- */
@media (max-width: 768px) {
    .counter-item {
        width: 90%; /* reduce width to show background edges */
        margin: 0 auto 1.8rem; /* center and add spacing between boxes */
        padding: 2rem 1.2rem; /* slightly reduce padding */
        border-radius: 18px;
    }

    .counter-item-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .counter-item h4 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }

    .counter-counting {
        font-size: 2rem;
    }
}

/* Slightly smaller on extra small screens */
@media (max-width: 480px) {
    .counter-item {
        width: 88%;
        padding: 1.8rem 1rem;
        border-radius: 16px;
    }
}

/* end Happy clients*/

/* start slider*/
.blog {
    --navy: #002147; /* Deep Navy */
    --royal: #1D4E89; /* Royal Blue */
    --gold: #D4AF37; /* Gold */
    --warm: #F5F3F0; /* Warm Gray */
    --charcoal: #2E2E2E; /* Charcoal */
}

/* ====== BLOG CARD ====== */
.blog-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    z-index: 1;
}

    .blog-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 28px rgba(0,0,0,0.15);
        border-color: var(--gold);
    }

    .blog-card::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, var(--royal), var(--gold));
        opacity: 0;
        transition: opacity 0.4s ease;
        z-index: 0;
    }

    .blog-card:hover::after {
        opacity: 0.08;
    }

    .blog-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 0%;
        height: 4px;
        background: linear-gradient(90deg, var(--royal), var(--gold));
        transition: width 0.4s ease;
        z-index: 2;
    }

    .blog-card:hover::before {
        width: 100%;
    }

.blog-body, .blog-img {
    position: relative;
    z-index: 1;
}

/* Image */
.blog-img {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

    .blog-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

.blog-card:hover .blog-img img {
    transform: scale(1.05);
}

/* ====== BADGE ====== */
.blog-badge {
    position: absolute;
    top: 0;
    left: 0;
    color: #fff;
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    border-bottom-right-radius: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

    .blog-badge i {
        color: inherit;
    }

.blog-slide:nth-child(1) .blog-badge {
    background: var(--royal);
}

.blog-slide:nth-child(2) .blog-badge {
    background: var(--navy);
}

.blog-slide:nth-child(3) .blog-badge {
    background: var(--gold);
    color: var(--navy);
}

    .blog-slide:nth-child(3) .blog-badge i {
        color: var(--navy);
    }

.blog-slide:nth-child(4) .blog-badge {
    background: var(--charcoal);
}

.blog-slide:nth-child(5) .blog-badge {
    background: var(--royal);
}

.blog-slide:nth-child(6) .blog-badge {
    background: var(--navy);
}

/* Sheen effect */
.blog-badge::after {
    content: "";
    position: absolute;
    top: 0;
    left: -50%;
    width: 50%;
    height: 100%;
    background: linear-gradient( 120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100% );
    transform: skewX(-25deg);
    transition: left 0.7s ease;
}

.blog-badge:hover::after {
    left: 120%;
}

/* ====== CARD BODY ====== */
.blog-body {
    padding: 20px;
}



    .blog-body p {
        color: var(--charcoal);
        font-size: 0.95rem;
    }

.blog-link {
    color: var(--royal);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s;
}

    .blog-link:hover {
        color: var(--gold);
    }

/* ====== SLIDER STRUCTURE ====== */
.blog-slider {
    position: relative;
}

.blog-viewport {
    overflow: hidden;
}

.blog-track {
    display: flex;
    transition: transform .5s ease;
}

.blog-slide {
    flex: 0 0 100%;
    padding: 0 12px;
}



.blog-nav:hover {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
    box-shadow: 0 0 14px rgba(212,175,55,0.6);
    transform: translateY(-50%) scale(1.1);
}




.blog-img {
    position: relative;
    width: 100%;
    height: 220px; /* fixed height for consistency */
    overflow: hidden;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

    .blog-img img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* crop instead of stretch */
        display: block;
        transition: transform .6s ease;
    }

.blog-img {
    height: 200px;
}

@media (min-width: 768px) {
    .blog-img {
        height: 240px;
    }
}

@media (min-width: 1200px) {
    .blog-img {
        height: 260px;
    }
}
/* Section background */
.blog {
    background: var(--warm); /* Warm Gray instead of plain white */
    padding: 60px 0;
}

/* Blog Card */
.blog-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    z-index: 1;
}

    /* Hover Glow */
    .blog-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 28px rgba(0,0,0,0.15), 0 0 14px rgba(212,175,55,0.35); /* GOLD glow */
        border-color: var(--gold);
    }

.blog-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #fff;
    border: 0;
    box-shadow: 0 8px 18px rgba(0,0,0,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    cursor: pointer;
    transition: all .25s;
}

.blog-prev {
    left: -15px;
}

.blog-next {
    right: -15px;
}

.blog-nav:hover {
    background: var(--gold);
    color: var(--deep-navy);
}

/* Dots (modern sliding bar) */
.blog-dots {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 22px;
    --dot-left: 0px;
}

    .blog-dots button {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: var(--charcoal);
        border: none;
        cursor: pointer;
        opacity: 0.4;
        transition: all 0.3s ease;
        z-index: 1;
    }

        .blog-dots button:hover {
            opacity: 0.8;
            background: var(--royal);
        }

        .blog-dots button.active {
            opacity: 1;
        }

    .blog-dots::after {
        content: "";
        position: absolute;
        bottom: -6px;
        left: var(--dot-left);
        width: 12px;
        height: 4px;
        background: var(--gold);
        border-radius: 4px;
        transition: all 0.35s ease;
    }

/* --- BLOG SLIDER FIXES --- */

/* Keep slider inside viewport */
.blog-slider,
.blog-viewport {
    max-width: 100%;
    overflow: hidden; /* clip overflow inside viewport */
}

/* Let JS handle widths */
.blog-track {
    display: flex;
    transition: transform .5s ease;
    will-change: transform;
}

/* Slides: no force max-width (keep JS widths) */
.blog-slide {
    flex-shrink: 0;
    box-sizing: border-box;
}

/* Arrows: stay inside viewport */
.blog-prev {
    left: 5px;
}

.blog-next {
    right: 5px;
}

/* Dots stay within bounds */
.blog-dots {
    max-width: 100%;
    overflow: hidden;
}

/* === BLOG: let JS control slide width; remove flex-basis 100% === */
.blog-slide {
    flex: 0 0 auto !important; /* kill the 100% flex-basis */
    padding: 0 !important; /* avoid step mismatch (we'll keep spacing via margin) */
    box-sizing: border-box;
}

/* === Modern "peek" layout: show 2.5 cards on desktop === */
@media (min-width: 1200px) {
    .blog-slide {
        flex: 0 0 40% !important; /* ~2.5 visible (100/40≈2.5) */
        padding: 0 !important;
        box-sizing: border-box;
    }

    .blog-track {
        justify-content: flex-start;
    }
}

/* tablet = 1.8 slides visible */
@media (min-width: 768px) and (max-width: 1199px) {
    .blog-slide {
        flex: 0 0 55% !important; /* ~1.8 visible */
    }
}

/* phone = full width */
@media (max-width: 767px) {
    .blog-slide {
        flex: 0 0 100% !important;
    }
}

/* end slider*/

/* ===== UNIVERSAL MODERN CARD (for team, products, blogs, faculty) ===== */
/* TEAM SECTION */
.team-item {
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(0,33,71,0.2); /* Deep Navy border */
    transition: all 0.35s ease;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
}

    .team-item:hover {
        border-color: #D4AF37; /* Gold */
        box-shadow: 0 12px 28px rgba(0,0,0,0.15), 0 0 12px rgba(212,175,55,0.4);
    }

/* Image wrapper */
.team-img {
    position: relative;
    width: 100%;
    overflow: hidden;
}

    .team-img img {
        width: 100%;
        height: auto;
        object-fit: contain; /* ✅ show full image */
        display: block;
    }

/* Social icons overlay */
.team-icons {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    opacity: 0;
    transition: all 0.35s ease;
}

.team-item:hover .team-icons {
    opacity: 1;
}

.team-icons a {
    width: 38px;
    height: 38px;
    background: #002147; /* Deep Navy */
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
}

    .team-icons a:hover {
        background: #D4AF37; /* Gold */
        color: #002147; /* Navy text on gold */
    }

/* Member details */
.team-details {
    background: #F5F3F0; /* Warm Gray */
    text-align: center;
    padding: 1rem;
}

    .team-details h4 {
        margin: 0;
        font-size: 1.2rem;
        font-weight: 700;
        color: #002147; /* Deep Navy */
        position: relative;
        display: inline-block;
    }

        .team-details h4::after {
            content: "";
            display: block;
            width: 50px;
            height: 3px;
            background: #D4AF37; /* Gold underline */
            margin: 6px auto 0;
            border-radius: 2px;
        }

    .team-details p {
        margin: 6px 0 0;
        font-size: 0.95rem;
        color: #1D4E89; /* Royal Blue */
        font-weight: 500;
    }

/* ✅ Mobile adjustments */
@media (max-width: 768px) {
    .team-item {
        max-width: 340px;
        margin: 0 auto;
    }

    .team-img {
        max-height: 260px; /* smaller images for mobile */
    }

        .team-img img {
            object-fit: contain;
        }

    .team-details h4 {
        font-size: 1.05rem;
    }

    .team-details p {
        font-size: 0.85rem;
    }

    .team-icons a {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }
}

/* Ensure consistent spacing for section headings */
#ourTeam,
.team-section {
    padding: 80px 0; /* Top & bottom padding */
}

    #ourTeam h4,
    #ourTeam h1 {
        margin-bottom: 1rem;
    }

@media (max-width: 768px) {
    #ourTeam, .team-section {
        padding: 60px 0;
    }
}


/* end team */

/* Start testimonials */

/* 🌟 Testimonial Section */
.testimonial {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../t1.jpg') center center / cover fixed no-repeat !important;
    background-position: center;
    background-attachment: fixed; /* parallax */
    position: relative;
    padding: 110px 20px;
    color: #fff;
    overflow: hidden;
}

    .testimonial h4 {
        color: #FFD44D;
        text-transform: uppercase;
        font-weight: 700;
        margin-bottom: 10px;
        letter-spacing: 1px;
    }

    .testimonial h1 {
        color: #fff;
        font-weight: 800;
        margin-bottom: 50px;
    }



/* ⭐ Client Name & Role */
.testimonial-item h4 {
    color: #002147;
    font-weight: 700;
    margin: 10px 0 5px;
}

.testimonial-item p {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

/* ⭐ Stars */
.testimonial-item .fa-star {
    color: #FFD44D;
    margin: 0 2px;
}

/* 📱 Responsive */
@media (max-width: 768px) {
    .testimonial {
        padding: 60px 15px;
    }

    .testimonial-item {
        padding: 20px;
    }

        .testimonial-item img {
            width: 80px;
            height: 80px;
        }

        .testimonial-item h4 {
            font-size: 1.1rem;
        }

        .testimonial-item p {
            font-size: 0.9rem;
        }
}

/* Testimonial Card */
.testimonial-item {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    text-align: center;
    max-width: 500px;
    margin: auto;
}

    .testimonial-item:hover {
        transform: translateY(-6px);
    }

    /* Fix image (circle, proper face) */
    /* Testimonial profile images */
    .testimonial-item img {
        width: 100px; /* fixed size */
        height: 100px;
        border-radius: 50%; /* 🔵 makes it round */
        object-fit: cover; /* 🖼️ ensures full face inside circle */
        border: 3px solid #D4AF37; /* Gold border */
        margin: 0 auto 15px; /* center with spacing below */
        display: block;
    }
    /* Force testimonial profile images to be perfect circles */
    .testimonial-item .d-flex img,
    .testimonial-item img {
        width: 120px !important; /* fixed width */
        height: 120px !important; /* fixed height */
        border-radius: 50% !important; /* always circle */
        object-fit: cover !important; /* crop instead of stretch */
        border: 4px solid #D4AF37; /* gold border */
        margin: 0 auto 15px !important; /* center with space below */
        display: block;
    }

/* Dots styling */
/* ✅ Keep this */
.owl-dots {
    display: block !important;
    text-align: center;
    margin-top: 20px;
    position: relative;
    z-index: 5;
}

    .owl-dots .owl-dot span {
        width: 12px;
        height: 12px;
        background: #ccc;
        border-radius: 50%;
        display: inline-block;
        margin: 0 5px;
        transition: all 0.3s ease;
    }

    .owl-dots .owl-dot.active span {
        background: #D4AF37; /* Gold */
    }
/* Center Owl Dots under the carousel */
/* Owl Dots - Modern Premium Look */
/* Owl Dots - Clean Gold Style */
.testimonial-carousel .owl-dots {
    display: flex !important;
    justify-content: center;
    align-items: center;
    margin-top: 25px;
    gap: 8px; /* spacing between dots */
}

.testimonial-carousel .owl-dot span {
    width: 12px;
    height: 12px;
    background: transparent; /* hollow */
    border: 2px solid #D4AF37; /* gold border */
    border-radius: 50%;
    display: inline-block;
    transition: background 0.3s ease;
}

.testimonial-carousel .owl-dot.active span {
    background: #D4AF37; /* solid gold for active */
}



/* ===== TESTIMONIAL MODERN STYLE (LARGE, UNIFORM, RESPONSIVE) ===== */

.testimonial {
    position: relative;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

    /* Each card */
    .testimonial .owl-carousel .testimonial-item {
        background: #ffffff;
        border-radius: 24px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.12);
        padding: 2.5rem 2rem;
        max-width: 520px;
        height: 520px; /* large uniform box */
        margin: auto;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        text-align: center;
        transition: all 0.4s ease;
    }

        .testimonial .owl-carousel .testimonial-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 18px 40px rgba(0,0,0,0.18);
            border: 2px solid #D4AF37;
        }

        /* Testimonial text */
        .testimonial .owl-carousel .testimonial-item p {
            font-size: 1rem;
            color: #444;
            line-height: 1.6;
            margin-bottom: 1.5rem;
            flex-grow: 1;
        }

        /* Image */
        .testimonial .owl-carousel .testimonial-item img {
            width: 150px;
            height: 150px;
            object-fit: cover;
            border-radius: 50%;
            border: 5px solid #D4AF37;
            background: #fff;
            margin: 0 auto 1rem auto;
        }

        /* Name and course */
        .testimonial .owl-carousel .testimonial-item h4 {
            font-weight: 800;
            color: #002147;
            font-size: 1.25rem;
            margin-top: 0.5rem;
            margin-bottom: 0.2rem;
            letter-spacing: 0.5px;
        }

        .testimonial .owl-carousel .testimonial-item p.m-0 {
            color: #1D4E89;
            font-weight: 600;
            margin-bottom: 0.6rem !important;
        }

        /* Stars */
        .testimonial .owl-carousel .testimonial-item i {
            color: #D4AF37;
            font-size: 1.1rem;
        }

/* Responsive tweaks */
@media (max-width: 992px) {
    .testimonial .owl-carousel .testimonial-item {
        max-width: 440px;
        height: 480px;
        padding: 2rem 1.5rem;
    }

        .testimonial .owl-carousel .testimonial-item p {
            font-size: 0.95rem;
        }
}

@media (max-width: 768px) {
    .testimonial .owl-carousel .testimonial-item {
        max-width: 360px;
        height: 440px;
    }
}

@media (max-width: 576px) {
    .testimonial .owl-carousel .testimonial-item {
        max-width: 90%;
        height: auto;
    }
}

/* end testimonials*/

/* start contact detail */
/* 🌟 Contact Section (Clean Solid Background) */
.contact-sec {
    background-color: #F5F3F0; /* same as Our Blog background */
    position: relative;
    padding: 80px 20px;
    z-index: 1;
    overflow: hidden;
}

    /* Decorative pattern (subtle, optional) */
    .contact-sec .contact-pattern {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('https://www.transparenttextures.com/patterns/cubes.png');
        opacity: 0.04;
        pointer-events: none;
    }

    /* Keep content above overlays */
    .contact-sec .container {
        position: relative;
        z-index: 2;
    }

    /* Headings */
    .contact-sec h6 {
        color: #19409A; /* deep navy accent */
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 10px;
    }

    .contact-sec h1 {
        color: #001442; /* dark navy */
        font-weight: 800;
        margin-bottom: 15px;
    }

    .contact-sec p {
        color: #555;
        font-size: 1rem;
    }



.contact-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}




/* Form Styling */
.contact-sec .form-control {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 12px;
    font-size: 0.95rem;
    transition: border-color 0.3s;
}

    .contact-sec .form-control:focus {
        border-color: #19409A; /* navy focus */
        box-shadow: 0 0 6px rgba(25, 64, 154, 0.25);
    }

/* Submit Button */
.contact-sec .btn-accent {
    background: #19409A; /* navy */
    color: #fff;
    font-weight: 600;
    padding: 12px;
    border-radius: 8px;
    border: none;
    transition: background 0.3s ease;
}

    .contact-sec .btn-accent:hover {
        background: #001442; /* darker navy */
        color: #FFD44D; /* gold text on hover */
    }

/* Responsive */
@media (max-width: 768px) {
    .contact-info {
        text-align: center;
        flex-direction: column;
    }

        .contact-info .icon {
            margin-bottom: 10px;
        }
}

/* Contact Info Boxes */
.contact-info {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    display: flex;
    align-items: flex-start; /* align items at top */
    gap: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 120px; /* keeps consistent height */
    text-align: left; /* ensures address aligns well */
    word-wrap: break-word; /* ✅ forces long text to wrap */
    white-space: normal; /* ✅ allows proper wrapping */
}

    /* Icons */
    .contact-info .icon {
        flex-shrink: 0; /* ✅ prevents icon from shrinking */
        background: #19409A;
        color: #FFD44D;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        margin-top: 5px; /* aligns better with text */
    }

    /* Headings inside box */
    .contact-info h6 {
        margin: 0 0 5px;
        font-weight: 700;
        color: #001442;
        font-size: 1rem;
    }

    /* Small text (address, phone, email) */
    .contact-info small {
        color: #555;
        font-size: 0.9rem;
        line-height: 1.5; /* ✅ adds breathing space for long text */
        display: block; /* ensures full-width text */
    }

/* Ensure map and form columns have equal height */
.contact-sec .row.align-items-stretch {
    display: flex;
    flex-wrap: wrap;
}

.contact-sec .map-box,
.contact-sec .form-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

    .contact-sec .map-box iframe {
        width: 100%;
        height: 100%;
        border: 0;
        flex: 1; /* make iframe expand fully */
        border-radius: 12px;
    }

/* Equal height fix */
.map-box,
.form-box {
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    height: 100%; /* make them equal */
}

    /* Fix iframe height inside */
    .map-box iframe {
        width: 100%;
        height: 100%;
        border: 0;
        flex: 1; /* take all available space */
    }

/* Form box should also stretch */
.form-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* end contact details*/





/* start sidebar container */
/* ================= DESKTOP (ROTATED PILL STYLE) ================= */
@media (min-width: 992px) {
    .sticky-sidebar {
        position: fixed;
        top: 30%;
        right: 10px;
        display: flex;
        flex-direction: column;
        gap: 14px;
        z-index: 9999;
    }

        .sticky-sidebar .sidebar-btn {
            background: #D4AF37; /* gold */
            /*color: #002147;*/ /* navy */
            color:black;
            font-weight: 600;
            text-decoration: none;
            padding: 12px 20px;
            border-radius: 50px;
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 15px;
            box-shadow: 0 6px 18px rgba(0,0,0,0.15);
            transition: all 0.3s ease;
            width: 160px;
            height: 48px;
            justify-content: center;
        }

            /* Rotate contents vertically */
            .sticky-sidebar .sidebar-btn.rotated {
                transform: rotate(-90deg);
                transform-origin: center;
            }

            .sticky-sidebar .sidebar-btn:hover {
                /*background: #E94E1B;*/ /* orange */
                background: #C0C0C0; /* orange */
                color: #fff;
            }

            .sticky-sidebar .sidebar-btn i {
                font-size: 16px;
            }
}

/* ================= MOBILE BOTTOM BAR ================= */
@media (max-width: 991px) {
    .sticky-bottom-bar {
        position: fixed !important;
        bottom: 20px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        display: flex;
        gap: 12px;
        padding: 8px 14px;
        background: #fff;
        border-radius: 50px;
        box-shadow: 0 6px 18px rgba(0,0,0,0.15);
        z-index: 99999 !important;
    }

        .sticky-bottom-bar a {
            flex: 1; /* ✅ equal width */
            text-align: center;
            padding: 10px 12px;
            border-radius: 25px;
            background-color: #D4AF37; /* gold */
            color: black; /* navy text */
            font-weight: 600;
            text-decoration: none;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            transition: background 0.3s ease;
        }

            .sticky-bottom-bar a:hover {
                background: #C0C0C0; color: #fff;
            }
}


/* end side bar*/



/* start accordion */
/* =========================================================
   FAQ SECTION STYLES
   ========================================================= */

/* Section Background with Gradient */
.faq-sec {
    background: linear-gradient(90deg,#06B6D4 0%,#5EEAD4 10%,#F9C80E 55%,#E89C00 90%);
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

/* Remove old blob since gradient looks rich enough */
.faq-pattern-blob {
    display: none;
}

/* Keep content above */
.faq-sec .container {
    position: relative;
    z-index: 3;
}

/* Accordion Wrapper (white box in center) */
.accordion-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    background: linear-gradient(135deg, #ffffff, #f9f7f3);
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
    border-left: 6px solid #D4AF37;
}

    /* Section Headings (now inside accordion) */
    .accordion-wrapper h4 {
        color: #19409A;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .accordion-wrapper h1 {
        color: #001442;
        font-weight: 800;
        margin-bottom: 15px;
    }

/* Accordion Items */
.accordion-item {
    border: none;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .accordion-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    }

/* Accordion Button */
.accordion-button {
    font-weight: 600;
    color: #001442;
    background: #fff;
    padding: 16px 20px;
    border: none;
    border-radius: 12px;
    transition: all 0.3s ease;
}

    .accordion-button:not(.collapsed) {
        background: linear-gradient(135deg, #ffffff, #f9f7f3);
        border-left: 5px solid #D4AF37;
        color: #19409A;
        font-weight: 700;
        box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
    }

    .accordion-button:hover {
        background: linear-gradient(135deg, #ffffff, #f9f7f3);
        color: #19409A;
        box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
    }

    .accordion-button::after {
        background-size: 1rem;
        transition: transform 0.3s ease;
    }

    .accordion-button:not(.collapsed)::after {
        transform: rotate(180deg);
        filter: invert(58%) sepia(78%) saturate(412%) hue-rotate(20deg) brightness(95%) contrast(88%);
    }

/* Accordion Body */
.accordion-body {
    background: #fff;
    color: #333;
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 20px;
    border-top: 1px solid #eee;
}


/* end accordion */

/* progress bar*/

/* Scroll Progress Circle */
/* ================= SCROLL PROGRESS CIRCLE ================= */
#progressScroll {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #F5F3F0; /* Light neutral track */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    #progressScroll:hover {
        transform: scale(1.1);
        box-shadow: 0 0 15px #D4AF37, 0 0 25px rgba(233, 78, 27, 0.4);
    }

    /* Progress Arc (Gold → Orange, medium thickness) */
    #progressScroll::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 50%;
        background: conic-gradient( #D4AF37 0deg, #E94E1B var(--deg, 0deg), transparent var(--deg, 0deg) );
        /* Mask for medium thickness ring (45% inner hole) */
        -webkit-mask: radial-gradient(transparent 0 45%, #000 46% 100%);
        mask: radial-gradient(transparent 0 45%, #000 46% 100%);
        transition: background 0.3s linear; /* smooth scroll arc */
    }

    /* Arrow Icon */
    #progressScroll i {
        position: relative;
        z-index: 1;
        font-size: 20px;
        color: #19409A; /* Navy arrow */
    }

/* Responsive size for mobile */
@media (max-width: 576px) {
    #progressScroll {
        width: 45px;
        height: 45px;
    }

        #progressScroll i {
            font-size: 18px;
        }
}


/* end progress bar*/


/* White wrapper */
.sidebar-wrapper {
    background: #ffffff; /* White background */
    border-radius: 12px; /* Rounded box */
    padding: 6px;
    display: flex;
    flex-direction: column; /* Stack vertically */
    gap: 10px; /* Space between buttons */
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Buttons */
.btn-sidebar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 18px;
    border-radius: 8px; /* Rectangular rounded shape */
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

    /* Icon spacing */
    .btn-sidebar i {
        margin-right: 8px;
        font-size: 1.2rem;
    }

    /* Enquiry */
    .btn-sidebar.enquiry {
        background: #d4af37; /* Gold */
        color: black /* Blue text */
    }

        .btn-sidebar.enquiry:hover {
            background: #ffffff; /* Orange */
            color: black;
        }

    /* Contact */
    .btn-sidebar.contact {
        background: black; /* Blue */
        color: #ffffff; /* White text */
    }

        .btn-sidebar.contact:hover {
            background: white; /* Orange */
            color:black;
        }

    /* Chat button - Navy (WhatsApp) */
    .btn-sidebar.chat {
        background: black; /* Blue */
        color: #ffffff; /* White text */
    }

        .btn-sidebar.chat:hover {
            background: #ffffff; /* Orange */
            color: black;
        }



    /* Chat button - Navy (WhatsApp) */
    .btn-sidebar.chat1 {
        background: #D4AF37;
        color: black;
    }

        .btn-sidebar.chat1:hover {
            background: #C0C0C0;
            color: #fff;
        }


/* ✅ WhatsApp icon inside Chat button */
/*.btn-sidebar.chat1 i {
            color: #25D366;*/ /* WhatsApp Green */
/*}*/


/* ================= start institutions ================= */



.inst-card {
    transition: all 0.35s ease;
    background: #fff;
}

    .inst-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    }

.inst-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 20px;
    margin-bottom: 1rem;
}
/* Brand Colors */
.bg-navy {
    background: #002147;
}

.bg-royal {
    background: #1D4E89;
}

.bg-gold {
    background: #D4AF37;
}

.bg-green {
    background: #228B22;
}

.bg-teal {
    background: #008080;
}

.bg-purple {
    background: #6a1b9a;
}

.bg-purple-dark {
    background: #4a148c;
}

.bg-red {
    background: #b71c1c;
}

.bg-maroon {
    background: #800000;
}

/* ===================== INSTITUTIONS SECTION ===================== */
/* ===================== INSTITUTIONS SECTION ===================== */
#institutions {
    background: linear-gradient(rgba(0,0,0,0.9), rgba(0,0,0,0.9)), url('../i1.jpg') center center / cover fixed no-repeat;
    position: relative;
    z-index: 1;
    margin-top: 0; /* ✨ remove unwanted gap */
    padding-top: 0;
}

    #institutions::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
    }

/* ===== Sticky Section Header ===== */
.inst-sticky-header {
    position: sticky;
    top: 80px; /* match your main sticky header height */
    z-index: 10;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    padding: 25px 15px 20px;
    text-align: center;
    margin-top: 0; /* ✨ remove default spacing */
}

/* Fix for AOS heading colors */
#institutions h4 {
    color: #D4AF37;
}

#institutions h1 span {
    color: #D4AF37;
}

#institutions h1,
#institutions p {
    color: #fff;
}

/* ===== Cards ===== */
.inst-card {
    background: #fff;
    color:black;
    border-radius: 18px;
    transition: all 0.35s ease;
    padding: 2rem 1rem;
    height:100%;
    
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

    .inst-card:hover {
        transform: translateY(-10px) scale(1.04);
        box-shadow: 0 14px 32px rgba(0,0,0,0.35);
        border: 2px solid #D4AF37;
    }

/* ===== Icons ===== */
.inst-icon {
    background: black;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    transition: all 0.35s ease;
}

.inst-card:hover .inst-icon {
    background: #D4AF37;
    color: #002147;
  
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.6);
}

/* ===== Titles ===== */
.inst-card h5 {
    font-weight: 600;
    margin-top: 0.5rem;
    color: #002147;
    transition: color 0.3s;
}

.inst-card:hover h5 {
    color: #D4AF37;
}



/* ===================== INSTITUTIONS SECTION ===================== */
#institutions {
    background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)), url('../i1.jpg') center center / cover fixed no-repeat;
    position: relative;
    z-index: 1;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 100px; /* ✅ Added bottom space */
}

    /* --- RESET DEFAULT BOOTSTRAP PADDING ABOVE HEADER --- */
    #institutions .container,
    #institutions .container-fluid {
        padding-top: 0;
        margin-top: 0;
    }

/* ===== Sticky Section Header ===== */
.inst-sticky-header {
    position: sticky;
    top: 80px; /* Adjust this value to exactly match your main header height */
    z-index: 20;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    padding: 20px 15px 15px;
    text-align: center;
    margin-top: 0;
    border-top: none;
}

    .inst-sticky-header h4 {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

/* Remove spacing conflicts */
.inst-body {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Typography colors */
#institutions h1 span {
    color: #D4AF37;
}

#institutions h4 {
    color: #D4AF37;
}

#institutions h1,
#institutions p {
    color: #fff;
}

/* Responsive top fix */
@media (max-width: 991.98px) {
    .inst-sticky-header {
        top: 80px; /* mobile header height */
        padding-top: 15px;
    }
}

/* ===== Sticky Section Header ===== */
.inst-sticky-header {
    position: sticky;
    top: 80px; /* Adjust based on your main header height */
    z-index: 20;
    background: #000; /* ✅ Pure black background */
    padding: 20px 15px 15px;
    text-align: center;
    margin-top: 0;
    border-top: none;
}

    /* Heading & Subheading styles */
    .inst-sticky-header h1 {
        font-size: 2.2rem; /* ✅ Smaller font size (was display-4 ~3rem) */
      
        font-family: "Outfit", sans-serif;
        color: #fff;
        width: 100%;
    }

    .inst-sticky-header h4 {
        font-size: 1.3rem;
        font-family: "Outfit", sans-serif;
        margin-top: 0 !important;
        padding-top: 0 !important;
        color: white;
    }

    .inst-sticky-header p {
        font-size: 1rem;
        color: #ddd;
        font: italic 400 1rem/1.2 "Playfair Display",serif;
        max-width: 100%;
        margin: 0 auto;
    }

/* Responsive font adjustments */
@media (max-width: 991.98px) {
    .inst-sticky-header {
        top: 80px;
        padding: 15px 10px;
    }

        .inst-sticky-header h1 {
            font-size: 1.6rem; /* smaller for tablets */
        }

        .inst-sticky-header p {
            font-size: 0.95rem;
        }
}

@media (max-width: 575.98px) {
    
}
@media (max-width: 767.98px) {
    #institutions {
        padding-bottom: 60px; /* smaller space on mobile */
    }
}

/* ✅ Disable sticky on mobile */
@media (max-width: 767.98px) {
    .inst-sticky-header {
        position: static; /* removes stickiness */
        top: auto;
        background: #000;
        padding: 20px 15px;
    }
}

/* end institurtion*/

/* start about after time line*/



/* Light background for the whole section */
.about-premium {
    background: #f8fbff; /* or #F5F3F0 */
    font-family: 'Poppins', sans-serif;
    padding: 80px 0;
}

/* Dark card inside */
.about-box {
    background: var(--royal); /* or var(--deep-navy) */
    border-left: 5px solid var(--gold);
    border-radius: 1rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    color: #ffffff; /* text white inside */
}

/* Heading highlight */
.about-title .highlight {
    color: var(--gold);
}

/* Paragraph text styling */
.about-box p {
    color: rgba(255,255,255,0.9); /* softer white */
}

/* Button tweak (so it pops on dark background) */
.about-box .btn {
    background: var(--gold);
    color: #061B3A;
    font-weight: 600;
}


/* affilliated*/

.service-item img {
    max-height: 100px;
    object-fit: contain;
}

.service-item p {
    font-size: 1rem;
    color: #333;
}

.service-item {
    transition: transform .3s ease, box-shadow .3s ease;
}

    .service-item:hover {
        transform: translateY(-8px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }


.service-item {
    transition: transform .3s ease, box-shadow .3s ease;
}

    .service-item:hover {
        transform: translateY(-8px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }

.accredit-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

    .accredit-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 18px rgba(0,0,0,0.15);
        border-color: #D4AF37;
    }

.icon-circle {
    background: #f5f5f5; /* soft gray bg */
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    .icon-circle img {
        max-width: 55px;
        max-height: 55px;
        object-fit: contain;
    }

.accredit-card {
    background: #fff;
    border-radius: 14px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

    /* permanent stripe */
    .accredit-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 6px;
        height: 100%;
        background: linear-gradient(180deg, #1D4E89, #002147);
        border-radius: 14px 0 0 14px;
    }



/* css code*/



/* ===== Accreditations Section ===== */
.accreditations {
    background: linear-gradient(180deg, #f8f9fc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

    .accreditations::before {
        content: "";
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle at top center, rgba(29,78,137,0.1), transparent 70%);
        z-index: 0;
    }

    .accreditations .container {
        position: relative;
        z-index: 1;
    }

/* ===== Card ===== */
.accredit-card {
    background: #fff;
    border-radius: 16px;
    padding: 25px 22px;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

    .accredit-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 6px;
        height: 100%;
        background: linear-gradient(180deg, #002147, #1D4E89);
        border-radius: 16px 0 0 16px;
        transition: all 0.4s ease;
    }

    .accredit-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 28px rgba(0,0,0,0.18);
        border-color: #d4af37;
    }

        .accredit-card:hover::before {
            background: linear-gradient(180deg, #d4af37, #b38b2e);
        }

/* ===== Icon Circle ===== */
.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle at center, #f8f8f8 0%, #eef2f9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 18px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.accredit-card:hover .icon-circle {
    background: radial-gradient(circle at center, #fffbe7 0%, #fff2c4 100%);
    box-shadow: 0 0 18px rgba(212,175,55,0.4);
}

.icon-circle img {
    width: 55px;
    height: 55px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.accredit-card:hover .icon-circle img {
    transform: scale(1.1);
}

/* ===== Text ===== */
.accredit-card h5 {
    font-weight: 700;
    color: #002147;
    margin-bottom: 6px;
}

.accredit-card p {
    margin: 0;
    color: #555;
    font-size: 0.95rem;
}

/* ===== Responsive ===== */
@media (max-width: 767.98px) {
    .accredit-card {
        flex-direction: column;
        text-align: center;
        padding: 20px 18px;
    }

    .icon-circle {
        margin-right: 0;
        margin-bottom: 12px;
    }
}
/* =========================================
   ALWARDAS ACCREDITATION SECTION - FINAL
   Responsive + Premium Gold Glow Design
   ========================================= */

/* Base Card */
.accredit-card {
    background: #fff;
    border-radius: 14px;
    padding: 25px 20px;
    text-align: left;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    overflow: hidden;
}

    /* Vertical gradient stripe on left */
    .accredit-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 6px;
        height: 100%;
        background: linear-gradient(180deg, #1D4E89, #002147);
        border-radius: 14px 0 0 14px;
    }

/* Icon Circle */
.icon-circle {
    background: radial-gradient(circle at center, #f6f7fa 0%, #edf0f7 100%);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    flex-shrink: 0;
}

    .icon-circle img {
        max-width: 55px;
        max-height: 55px;
        object-fit: contain;
        transition: all 0.4s ease;
    }

/* Text block */
.accredit-card h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #002147;
    margin-bottom: 6px;
}

.accredit-card p {
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 0;
    line-height: 1.4;
}

/* Hover effects - Premium Gold Glow */
.accredit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-color: #D4AF37;
}

    .accredit-card:hover .icon-circle {
        box-shadow: 0 0 25px 4px rgba(212,175,55,0.6);
        background: radial-gradient(circle at center, #fff8e1 0%, #fff 85%);
    }

        .accredit-card:hover .icon-circle img {
            transform: scale(1.08);
            filter: drop-shadow(0 0 6px rgba(212,175,55,0.6));
        }

/* =======================
   MOBILE RESPONSIVE VIEW
   ======================= */
@media (max-width: 768px) {
    .accredit-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
        justify-content: center;
        padding: 24px 16px;
        width: 92%;
        margin: 0 auto 18px;
        border-left: none;
        border-radius: 18px;
    }

        .accredit-card::before {
            content: none;
        }

    .icon-circle {
        width: 90px;
        height: 90px;
        margin-bottom: 10px;
    }

    .accredit-card h5 {
        font-size: 1.05rem;
        margin-bottom: 6px;
    }

    .accredit-card p {
        font-size: 0.9rem;
        max-width: 90%;
    }
}


/* Testimonial*/

/* ===== Owl Nav Arrows (Premium Gold Hover Style) ===== */
.testimonial-carousel .owl-nav {
    position: absolute;
    top: 0%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 5;
}

    .testimonial-carousel .owl-nav button {
        pointer-events: all;
        background: transparent;
        border: 2px solid #D4AF37; /* Gold border */
        color: #D4AF37 !important; /* Gold icon color */
        font-size: 1.4rem !important;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        display: flex !important;
        align-items: center;
        justify-content: center;
        transition: all 0.35s ease;
        backdrop-filter: blur(6px);
        box-shadow: 0 0 0 rgba(0,0,0,0);
    }

        .testimonial-carousel .owl-nav button:hover {
            background: #D4AF37; /* Gold fill */
            color: #000 !important; /* Black icon */
            box-shadow: 0 0 15px rgba(212, 175, 55, 0.7); /* glow effect */
            transform: scale(1.1);
        }

        .testimonial-carousel .owl-nav button span {
            font-size: 1.6rem;
            line-height: 1;
            font-weight: 700;
        }

/* Mobile-friendly adjustments */
@media (max-width: 768px) {
    .testimonial-carousel .owl-nav {
        top: 0%;
    }

        .testimonial-carousel .owl-nav button {
            width: 40px;
            height: 40px;
            font-size: 1.1rem !important;
        }
}

.testimonial .owl-carousel .testimonial-item {
    min-height: 420px; /* desktop */
}

@media (max-width: 992px) {
    .testimonial .owl-carousel .testimonial-item {
        min-height: 380px; /* tablet */
    }
}

@media (max-width: 768px) {
    .testimonial .owl-carousel .testimonial-item {
        min-height: auto; /* mobile - full height, no cutoff */
    }
}

/* start facilities

/* ======= FACILITIES SECTION (ALWARDAS THEME) ======= */
/* ===== FACILITIES SECTION ===== */
.facilities-section {
    background: radial-gradient(circle at top left, #f8f9fb 0%, #f2f4f6 100%);
    position: relative;
    overflow: hidden;
}

/* heading */
.section-heading {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 2.4rem;
    color: #002147;
    letter-spacing: 0.5px;
    position: relative;
}

.section-subtitle {
    color: #555;
    font-size: 1.05rem;
    font-weight: 500;
}

.section-underline {
    width: 80px;
    height: 4px;
    background-color: #D4AF37;
    border-radius: 3px;
    margin-top: 12px;
}

/* Cards */
.facility-card {
    background: rgba(255,255,255,0.9);
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    cursor: pointer;
    backdrop-filter: blur(8px);
}

    .facility-card:hover {
        transform: translateY(-10px) scale(1.03);
        box-shadow: 0 15px 28px rgba(0,0,0,0.18);
    }

/* image styling */
.img-wrapper {
    position: relative;
    overflow: hidden;
    height: 230px;
}

    .img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

.facility-card:hover img {
    transform: scale(1.1);
}

/* text */
.content {
    padding: 1rem;
    text-align: left;
}

    .content h5 {
        font-weight: 700;
        color: #1D4E89;
        margin-bottom: 0.3rem;
    }

    .content p {
        font-size: 0.9rem;
        color: #555;
        margin-bottom: 0;
    }

/* button */
.btn-facilities {
    display: inline-block;
    background: linear-gradient(90deg, #002147, #1D4E89);
    color: #fff;
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.4s ease;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

    .btn-facilities:hover {
        background: #D4AF37;
        color: #002147;
        box-shadow: 0 6px 16px rgba(0,0,0,0.2);
    }

/* hover glow */
.facility-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 2px solid transparent;
    transition: all 0.4s ease;
}

.facility-card:hover::after {
    border-color: #D4AF37;
    box-shadow: 0 0 12px rgba(212,175,55,0.6);
}

/* Equal height cards fix */
.facility-card {
    display: flex;
    flex-direction: column;
    height: 100%; /* ensure full equal height in Bootstrap grid */
}

.facilities-section .row > div {
    display: flex;
}

.img-wrapper {
    flex-shrink: 0;
    height: 230px;
}

.content {
    flex-grow: 1; /* fill remaining space so all cards align */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* responsive */
@media (max-width: 992px) {
    .img-wrapper {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .section-heading {
        font-size: 1.8rem;
    }

    .img-wrapper {
        height: 160px;
    }
}

@media (max-width: 992px) {
    .img-wrapper {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .img-wrapper {
        height: 160px;
    }
}


/* ====== FACILITIES: KEEP BOOTSTRAP ROW ====== */

/* Force equal height & width cards */
.facilities-section .facility-card {
    width: 100%;
    aspect-ratio: 1 / 1; /* same width and height */
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .facilities-section .facility-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 28px rgba(0,0,0,0.2);
    }

/* Image wrapper covers top area */
.facilities-section .img-wrapper {
    flex: 1 1 auto;
    overflow: hidden;
    position: relative;
}

    .facilities-section .img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

.facilities-section .facility-card:hover img {
    transform: scale(1.08);
}

/* Text area at bottom */
.facilities-section .content {
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 20%, rgba(0,0,0,0.8) 100%);
    color: #fff;
    padding: 0.8rem;
    text-align: center;
    position: absolute;
    bottom: 0;
    width: 100%;
}

    .facilities-section .content h5 {
        font-weight: 700;
        color: #D4AF37;
        margin-bottom: 0.2rem;
    }

    .facilities-section .content p {
        font-size: 0.85rem;
        color: rgba(255,255,255,0.85);
        margin: 0;
    }

/* Responsive fixes */
@media (max-width: 992px) {
    .facilities-section .facility-card {
        aspect-ratio: 1 / 1;
    }
}

@media (max-width: 768px) {
    .facilities-section .facility-card {
        aspect-ratio: 1 / 1;
    }
}



/* end facilities */

/*contact form */



/* contact form */




/*📍 PM Palem

Name: Sanketika Vidya Parishad Engineering College
Cover: img/svp1.png
Phone: +91 95733 34901
Website: svpec.edu.in



Name: Sanketika Polytechnic College
Cover: img/spc.png
Phone: +91 95733 34901
Website: sanketikapolytechnic.edu.in

Name: Srinivasarao College of Pharmacy
Cover: img/srcpc.png
Phone: +91 95733 34901
Website: srcp.edu.in



Name: International Institute of Technology, Design and Management (IITDM)
Cover: img/pgdm.png
Phone: +91 95733 34901
Website: iitdm.org

Name: SVP ITI College
Cover: img/iti.jpeg
Phone: +91 95733 34901
Website: alwardasgroup.com



📍 MVP Colony

Name: Alwardas College Of Engineering & Technology (ACETECH)
Cover: img/ace2.png
Phone: +91 95733 34901
Website: alwardasgroup.com


Name: SVVP A S Raja Mahila Junior College
Cover: img/asraja.png
Phone: +91 95733 34901
Website: asraja.edu.in


Name: Alwardas Degree College (SVVP VMC Degree & PG College)
Cover: img/adc.png
Phone: +91 95733 34901
Website: vmccollege.edu.in


📍 Gopalapatnam

Name: Alwardas Polytechnic
Cover: img/ap1.png
Phone: +91 95733 34901
Website: alwardaspolytechnic.edu.in


Name: SVVP Degree & PG College
Cover: img/svvp.png
Phone: +91 95733 34901
Website: alwardasgroup.com


Name: SVVP EM High School
Cover: img/school.png
Phone: +91 95733 34901
Website: alwardasgroup.com


Name: SVLNSVP Junior College
Cover: img/jrcollege.png
Phone: +91 95733 34901
Website: alwardasgroup.com


Name: Alwar School of Excellence – CBSE
Cover: img/alwarschool.jpg
Phone: +91 95733 34901
Website: alwarschoolgpt.com


📍 Gajuwaka

Name: Alwar Jr. College (MAVP / Andalamma Jr. College)
Cover: img/jr.png
Phone: +91 95733 34901
Website: alwardasgroup.com


Name: Sri BVP Degree College
Cover: img/sbvp.png
Phone: +91 95733 34901
Website: sbvpdegreecollege.com


Name: Alwar Polytechnic
Cover: img/poly.png
Phone: +91 95733 34901
Website: alwarpolytechnic.edu.in*/

