.hero-wrapper {
    background: white;
    padding: 0px;
    margin-top: 4px;
    margin-right: 0px;
    margin-left: 0px;
}

@media (max-width: 768px) {
    .hero-wrapper {
        display: flex;
        flex-direction: column;
    }

    .hero-wrapper .col-lg-3 {
        order: 2;
    }

    .hero-wrapper .col-lg-9 {
        order: 1;
    }
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.7s ease-in-out;
    background-size: cover;
    background-position: center;
    z-index: 1;
}
.slide.active {
    opacity: 1;
    z-index: 2;
}
.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    text-align: center;
    align-items: center;
    font-size: 24px;
}
.prev {
    left: 10px;
}
.next {
    right: 10px;
}
.slide .content {
    position: relative;
    z-index: 3;
    color: white;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    width: 100%;
    height: 100%;
}
.hero-slider {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    background-size: cover;
    background-position: center;
}
.slide.active {
    opacity: 1;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0), transparent);
}
.slide .content {
    position: relative;
    text-align: left;
    z-index: 3;
    color: white;
    padding: 50px;
    max-width: 600px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.slide .content h1 {
    font-family: "Montserrat", sans-serif;
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.slide .content p {
    /* font-family:"Segoe UI", Tahoma, Geneva, Verdana, sans-serif; */
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}
.slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}
.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}
.dot.active {
    background: white;
    width: 25px;
    border-radius: 6px;
}
.prev,
.next {
    position: absolute;
    top: 50%;
    z-index: 10;
    border: none;
    color: white;
    padding: 15px 20px;
    cursor: pointer;
}
.prev {
    left: 10px;
}
.next {
    right: 40px;
}
.announcement-box {
    background: #ffffff;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    height: 87%;
    max-height: 458px;
    border-bottom: 4px solid #af1629;
}
.announcement-box h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.announcement-scroll ul {
    list-style: none;
    padding: 0;
}
.announcement-scroll li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;

    border-left: 4px solid #af1629;
    padding-left: 15px;
}
.date-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 15px;
    min-width: 45px;
}
.day {
    font-size: 1.5rem;
    font-weight: 800;
    /* color: #333; */
    line-height: 1;
}
.month {
    font-size: 0.7rem;
    /* color: #777; */
    font-weight: 600;
}
.announcement-scroll li p {
    margin: 0;
    color: #444;
    font-size: 0.95rem;
    line-height: 1.4;
    transition: color 0.3s;
}
.announcement-scroll li:hover p {
    color: #af1629;
    cursor: pointer;
}
.view-all {
    display: inline-block;
    color: #af1629;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 10px;
}
/* header  */
/* ══════════════════════════════════════════
   NEWS TICKER BAR
══════════════════════════════════════════ */
.news-ticker-bar {
    background-color: #f2ece0;
    border-top: 1px solid #e4d5c4;
    border-bottom: 3px solid #b0172a;
    display: flex;
    align-items: center;
    height: 42px;
    overflow: hidden;
    position: relative;
    z-index: 999;
    font-family: Arial, sans-serif;
}
.main-header-three {
    overflow: hidden;
    max-width: 100%;
}

/* ── LABEL (LEFT) ── */
.ticker-label {
    background: linear-gradient(135deg, #6b0f1f 0%, #b0172a 60%, #d42035 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
    height: 100%;
    flex-shrink: 0;
    white-space: nowrap;
    position: relative;
    z-index: 2;
}
/* ADD these to your existing style block */

/* Prevent ticker from causing horizontal page scroll */
.news-ticker-bar {
    max-width: 100vw;
}

.ticker-track-wrap {
    overflow: hidden;
    max-width: 100%;
    position: relative;
}

.ticker-track {
    display: flex;
    width: max-content;
    /* Key fix: contain within parent, not the whole page */
    position: relative;
}

.ticker-label i {
    font-size: 13px;
    animation: tickerPulse 1.5s ease-in-out infinite;
}

@keyframes tickerPulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.ticker-label span {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Arrow notch on the right of the label */
.ticker-label::after {
    content: "";
    position: absolute;
    right: -14px;
    top: 0;
    width: 0;
    height: 0;
    border-top: 21px solid transparent;
    border-bottom: 21px solid transparent;
    border-left: 14px solid #b0172a;
    z-index: 3;
}

/* ── SCROLLING TRACK ── */
.ticker-track-wrap {
    flex: 1;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 3%,
        black 97%,
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 3%,
        black 97%,
        transparent 100%
    );
}

.ticker-track {
    display: flex;
    /* width: max-content; */
    animation: tickerScroll 40s linear infinite;
    will-change: transform;
}

.ticker-track:hover {
    animation-play-state: paused;
}

@keyframes tickerScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Paused state via JS */
.ticker-track.paused {
    animation-play-state: paused;
}

.ticker-items {
    display: flex;
    align-items: center;
    /* padding-left: 30px; */
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: #333;
    white-space: nowrap;
    padding-right: 50px;
    cursor: default;
    transition: color 0.2s;
}

.ticker-item:hover {
    color: #b0172a;
}

.ticker-item i {
    font-size: 6px;
    color: #b0172a;
    flex-shrink: 0;
}

/* ── CONTROLS (RIGHT) ── */
.ticker-controls {
    padding: 0 14px;
    flex-shrink: 0;
    border-left: 1px solid #e4d5c4;
    height: 100%;
    display: flex;
    align-items: center;
}

.ticker-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid #b0172a;
    background: transparent;
    color: #b0172a;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition:
        background 0.2s,
        color 0.2s;
    padding: 0;
}

.ticker-btn:hover {
    background: #b0172a;
    color: #ffffff;
}

/* ══════════════════════════════════════════
   RESPONSIVE — hide ticker on very small screens
══════════════════════════════════════════ */
/* ═══════════════════════════════════════
   GLOBAL RESPONSIVE FIXES
═══════════════════════════════════════ */

/* Prevent horizontal scroll everywhere */
html,
body {
    overflow-x: hidden;
}

/* Make container flexible */
.container {
    width: 100%;
    padding-left: 7px;
    padding-right: 15px;
    margin: 0 auto;
}

/* ═══════════════════════════════════════
   TOP BAR RESPONSIVE
═══════════════════════════════════════ */

@media (max-width: 992px) {
    .main-menu-three__top-inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .main-menu-three__contact-list {
        flex-direction: column;
        gap: 5px;
    }

    .main-menu-three__social {
        justify-content: center;
    }
}

/* ═══════════════════════════════════════
   TICKER RESPONSIVE IMPROVEMENTS
═══════════════════════════════════════ */

/* Tablet */
@media (max-width: 991px) {
    .news-ticker-bar {
        height: 38px;
    }

    .ticker-item {
        font-size: 12.5px;
        padding-right: 35px;
    }

    .ticker-label {
        padding: 0 14px;
    }

    .ticker-label span {
        font-size: 10px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .news-ticker-bar {
        height: 34px;
    }

    .ticker-item {
        font-size: 11.5px;
        padding-right: 25px;
    }

    .ticker-controls {
        padding: 0 8px;
    }

    .ticker-btn {
        width: 24px;
        height: 24px;
        font-size: 9px;
    }
}

/* Small Mobile */
@media (max-width: 575px) {
    .ticker-label span {
        display: none;
    }

    .ticker-label {
        padding: 0 10px;
    }

    .ticker-item {
        font-size: 11px;
        padding-right: 20px;
    }
}

/* Extra Small Devices */
@media (max-width: 400px) {
    .news-ticker-bar {
        height: 30px;
    }

    .ticker-item {
        font-size: 10px;
    }

    .ticker-btn {
        width: 22px;
        height: 22px;
    }
}

/* ═══════════════════════════════════════
   FIX FLEX WRAPPING ISSUES
═══════════════════════════════════════ */

.main-menu-three__top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.main-menu-three__contact-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* Social icons responsive */
.main-menu-three__social {
    display: flex;
    /* gap: 10px; */
    flex-wrap: wrap;
}
/* headtop  */

/* Base Wrapper */
.headtop-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* padding: 15px 5%; Responsive horizontal spacing */
    background-color: #fff;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
    gap: 15px;
}

.hindi-text,
.english-text {
    font-size: 0.9rem;
    line-height: 1.4;
}

.hindi-text h1,
.english-text h1 {
    letter-spacing: 0.5px;
    margin-bottom: 3px;
    font-size: 1.5rem; /* Set a relative size */
}

.accredited-logo-space img {
    height: 60px; /* Set a controlled height */
    width: auto;
    object-fit: contain;
}

/* ── Tablet & Mobile Breakpoint ──────────────────── */
@media (max-width: 768px) {
    .headtop-wrapper {
        flex-direction: column; /* Stack items vertically */
        text-align: center; /* Center align text and logos */
        padding: 20px;
    }

    .hindi-text h1,
    .english-text h1 {
        font-size: 1.2rem; /* Shrink headings for mobile */
    }

    .accredited-logo-space {
        margin-top: 10px;
    }
}

/* ── Small Phones ───────────────────────────────── */
@media (max-width: 480px) {
    .hindi-text,
    .english-text {
        font-size: 0.8rem;
    }
}

/* navbar  */
/* ── Desktop (default) ─────────────────────────────── */
.main-menu-three__main-menu-box{
    width:100%;
    display:flex;
    justify-content:center;
}

.main-menu__list {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    list-style: none !important;
    padding: 10px 0 0 0 !important;
    margin: 0 !important;
    flex-wrap: wrap;
    gap: 0 4px;
}

.main-menu__list li {
    float: none !important;
    display: inline-block !important;
}

.main-menu__list li a {
    color: #ffffff !important;
    padding: 6px 14px !important;
    display: block;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease-in-out;
    white-space: nowrap;
}

.main-menu__list li a:hover {
    color: #ffffff !important;
    border-bottom: 2px solid #ffffff;
}

/* ── Hamburger button (Hidden on desktop) ────────── */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    color: white !important;
    margin-left: auto;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

/* Hamburger → X animation */
.nav-hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}
.nav-hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Tablet (≤ 1024px) ─────────────────────────────── */
@media (max-width: 1024px) {
    .main-menu__list li a {
        padding: 6px 10px !important;
        font-size: 14px;
    }
}

/* ── Mobile (≤ 767px) ────────────────────────────── */
@media (max-width: 767px) {
    .main-menu-three__wrapper-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        padding: 8px 0;
    }

    .nav-hamburger {
        display: flex; /* Show only on mobile */
    }

    .main-menu-three__main-menu-box {
        width: 100% !important;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
        background: rgba(
            0,
            0,
            0,
            0.9
        ); /* Adding background for mobile legibility */
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 999;
    }

    .main-menu-three__main-menu-box.open {
        max-height: 500px; /* Adjust this value if your menu list gets longer */
        padding-bottom: 10px;
    }

    .main-menu__list {
        flex-direction: column !important;
        align-items: center !important;
        padding: 15px 0 !important;
        gap: 10px;
    }

    .main-menu__list li {
        display: block !important;
        width: 100%;
        text-align: center;
    }

    .main-menu__list li a {
        padding: 12px 4px !important;
        font-size: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    }

    .main-menu__list li a:hover {
        border-bottom: 1px solid #ffffff !important;
        padding-left: 8px !important;
    }
}

/* ── Small phones (≤ 480px) ──────────────────────── */
@media (max-width: 480px) {
    .main-menu__list li a {
        font-size: 14px;
    }
}

/*--------------------------------------------------------------
# Custom Cursor
--------------------------------------------------------------*/

.custom-cursor__cursor {
    width: 25px;
    height: 25px;
    border-radius: 100%;
    border: 1px solid var(--eduvers-base);
    -webkit-transition: all 200ms ease-out;
    transition: all 200ms ease-out;
    position: fixed;
    pointer-events: none;
    left: 0;
    top: 0;
    -webkit-transform: translate(calc(-50% + 5px), -50%);
    transform: translate(calc(-50% + 5px), -50%);
    z-index: 999991;
}

.custom-cursor__cursor-two {
    width: 10px;
    height: 10px;
    border-radius: 100%;
    background-color: var(--eduvers-base);
    opacity: 0.3;
    position: fixed;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    -webkit-transition:
        width 0.3s,
        height 0.3s,
        opacity 0.3s;
    transition:
        width 0.3s,
        height 0.3s,
        opacity 0.3s;
    z-index: 999991;
}

.custom-cursor__hover {
    background-color: var(--eduvers-base);
    opacity: 0.4;
}

.custom-cursor__innerhover {
    width: 25px;
    height: 25px;
    opacity: 0.4;
}

/*---------------------------------
     Preloader CSS
-----------------------------------*/

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 20000;
    overflow-x: hidden !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader div {
    width: 20px;
    height: 20px;
    margin: 0 10px 0;
    border-radius: 50px;
    transform-origin: 50% 0;
    display: inline-block;
    animation: bouncing 1.4s linear infinite;
}

.loader div:last-child {
    margin: 0;
}

.loader div:nth-child(1) {
    background-color: rgba(var(--eduvers-base-rgb), 1);
}

.loader div:nth-child(2) {
    background-color: rgba(var(--eduvers-base-rgb), 0.7);
    animation-delay: 0.2s;
}

.loader div:nth-child(3) {
    background-color: rgba(var(--eduvers-base-rgb), 0.4);
    animation-delay: 0.4s;
}

@keyframes bouncing {
    0%,
    100% {
        transform: translateY(0) scale(1, 1);
        animation-timing-function: ease-in;
    }
    45% {
        transform: translateY(50px) scale(1, 1);
        animation-timing-function: linear;
    }
    50% {
        transform: translateY(50px) scale(1.5, 0.5);
        animation-timing-function: linear;
    }
    55% {
        transform: translateY(50px) scale(1, 1);
        animation-timing-function: ease-out;
    }
}

@keyframes wobble-horizontal-hover {
    16.65% {
        transform: translateX(5px);
    }
    33.3% {
        transform: translateX(-3px);
    }
    49.95% {
        transform: translateX(4px);
    }
    66.6% {
        transform: translateX(-2px);
    }
    83.25% {
        transform: translateX(1px);
    }
    100% {
        transform: translateX(0);
    }
}

/* scroll to top */

.scroll-to-top {
    display: flex;
    align-items: center;
    width: auto;
    height: 35px;
    background: transparent;
    position: fixed;
    bottom: 60px;
    right: -12px;
    z-index: 99;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transform: rotate(-90deg);
    cursor: pointer;
    transition: all 0.2s ease;
}

.scroll-to-top:hover {
    color: var(--eduvers-base);
}

.scroll-to-top__text {
    display: inline;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    margin-left: 10px;
}

.scroll-to-top__wrapper {
    display: inline-block;
    width: 30px;
    height: 4px;
    background-color: var(--eduvers-base);
    position: relative;
    overflow: hidden;
}

.scroll-to-top__inner {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: var(--eduvers-black);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    bottom: 70px;
}
/* school and collage  */
.feature-section {
    padding: 0;
    background-color: #fff;
}
.feature-container {
    max-width: 100%;
    margin: 0 auto;
}
/* Grid - 3 equal columns */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px 40px;
}
/* Card Base (unchanged except removing scale property) */
.feature-card {
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensures all cards in a row are the same height */
    /* padding: 20px; */
    position: relative;
    min-height: 280px;
    background-color: #c0182d; /* Default red */
    overflow: hidden; /* CRITICAL: Must be kept to hide image overflow on scale */
    cursor: pointer;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .feature-card {
        min-height: 220px;
        border-radius: 6px;
        padding: 20px;
    }
}

/* ****************************************** */
/* NEW: Styling for the background image div */
/* ****************************************** */
.feature-image-bg {
    position: absolute;
    inset: 0;
    background-image: var(--bg-img);
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease; /* Adjust 0.6s for speed */
    z-index: 0; /* Behind everything */
    will-change: transform; /* Hint to the browser for smoothness */
}
/* THE HOVER EFFECT: Target just the image element */
.feature-card:hover .feature-image-bg {
    color: black;
    transform: scale(1.1); /* Subtle zoom in */
}
/* ****************************************** */
/* ****************************************** */
/* Overlay (changed to position absolute and inherit color) */
.feature-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(176, 20, 38, 0.93);
    transition: background-color 0.4s ease;
    z-index: 1;
}
/* Overlay hover (unchanged but cleaned up the scale command) */
.feature-card:hover .feature-overlay {
    background-color: rgba(63, 50, 50, 0.06);
}
/* Content sits above overlay */
.feature-body {
    position: relative;
    z-index: 2;
    padding: 35px 30px 30px 30px;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

/* Top row: title + number */
.feature-top {
    display: flex;
    align-items: flex-center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.feature-body h3 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
    margin: 0;
    line-height: 1.3;
    flex: 1;
}

/* Large number */
.feature-num {
    font-size: 44px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
    flex-shrink: 0;
    margin-top: -8px;
    font-family: "open sans", sans-serif;
}

.feature-body p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 14.5px;
    line-height: 1.75;
    margin: 0;
    text-align: justify;
}

/* Middle card — contrast (unchanged) */
.feature-grid .feature-card:nth-child(1) {
    background-color: rgba(175, 22, 37, 0.93);
}
.feature-grid .feature-card:nth-child(1) .feature-overlay {
    background-color: rgba(158, 16, 30, 0.93);
}
.feature-grid .feature-card:nth-child(1):hover .feature-overlay {
    background-color: rgba(20, 10, 10, 0.62);
}

.feature-grid .feature-card:nth-child(2) {
    background-color: rgba(175, 22, 37, 0.93);
}
.feature-grid .feature-card:nth-child(2) .feature-overlay {
    background-color: rgba(211, 20, 39, 0.93);
}
.feature-grid .feature-card:nth-child(2):hover .feature-overlay {
    background-color: rgba(20, 10, 10, 0.62);
}

.feature-grid .feature-card:nth-child(3) {
    background-color: rgba(175, 22, 37, 0.93);
}
.feature-grid .feature-card:nth-child(3) .feature-overlay {
    background-color: rgba(158, 16, 30, 0.93);
}
.feature-grid .feature-card:nth-child(3):hover .feature-overlay {
    background-color: rgba(20, 10, 10, 0.62);
}
/* ... (All your existing desktop styles remain the same) ... */

/* ── Updated Responsive Logic ────────────────────── */

/* Small Device Optimization (Phones) */
/* Mobile (≤600px) */
@media (max-width: 600px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns instead of 3 */
        padding: 15px;
        gap: 10px;
    }

    .feature-card {
        min-height: auto;
    }

    .feature-body {
        padding: 15px;
    }

    .feature-body h3 {
        font-size: 14px;
    }

    .feature-num {
        font-size: 24px;
    }

    .feature-body p {
        font-size: 12px;
        line-height: 1.5;
    }
}

/* Tablet (601px–1024px) */
@media (min-width: 601px) and (max-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns here */
        padding: 20px;
        gap: 15px;
    }

    .feature-num {
        font-size: 32px;
    }
}
/* Responsive */
@media (max-width: 900px) {
    .feature-grid {
        grid-template-columns: 3fr;
    }
    .feature-card {
        min-height: 280px;
    }
}

/* ABout collage  */

/* General Resets */
.welcome-section {
    padding: 20px 20px;
    background-color: #ffffff;
    /* font-family: 'Lato', sans-serif; */
    margin: 0 0 !important;
    display: flex;
    justify-content: space-between;
}
.welcomebtnquote-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.container {
    /* max-width: 1100px; */
    justify-content: center;
    /* margin: 0 auto; */
    margin: 0 0 !important;
}

/* Layout */
.welcome-content {
    flex: 1;
    justify-content: center;
    display: flex;
    flex-direction: column;
    margin: 0 0 !important;
}
.welcome-layout {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    justify-content: center;
}

/* Header */
.welcome-header h2 {
    /* font-family: 'Playfair Display', serif; */
    font-size: 32px;
    color: #1a2a6c;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.header-divider {
    width: 60px;
    height: 4px;
    background-color: #d93025;
    margin-bottom: 25px;
}

/* Content */
.welcome-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #4a4a4a;
    text-align: justify;
    margin: 0;
}

/* Button */
.view-more-btn {
    background-color: #1a2a6c;
    box-shadow: 0px 2px 4px 0px rgba(41, 116, 187, 0.45);
    border-radius: 4px;
    color: #ffffff;
    padding: 11px 28px;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    width: fit-content;
    margin-top: 25px;
    letter-spacing: 0.3px;
    transition: background 0.3s ease;
}
.view-more-btn:hover {
    background-color: #0d1a47;
}

/* Right Side Wrapper */
.welcome-image-wrapper {
    flex: 10px 0 300px;
}

/* Image Card */
.welcome-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
}

.welcome-image img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}

/* Quote Card */
.welcome-quote {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 25px;
    width: 70%;
    justify-content: center;
    background-color: #fdf8f6;
    padding: 10px 10px;
    /* border-left: 4px solid #d93025; */
    border-right: 4px solid #d93025;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.welcome-quote p {
    font-size: 15px;
    color: #333;
    font-style: italic;
    font-weight: 600;
    margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
    .welcome-layout {
        flex-direction: column;
        gap: 40px;
    }
    .welcome-image-wrapper {
        width: 100%;
    }
}

/* facility of collage  */
.section-line {
    width: 990px; /* Adjust length as desired */
    height: 0.5px; /* Thickness of the line */
    background-color: #bb89895b; /* Your red color */
    border-radius: 2px;
    position: relative;
    bottom: 18px; /* Space between line and title */
}
/* ── Section ── */
.facilities-section {
    background-color: #ffffff;
    padding: 0px 20px 30px;
    text-align: right;
    /* font-family: Georgia, serif; */
}

/* ── Title ── */
.fac-section-title {
    margin-bottom: 30px;
}

.fac-section-title h2 {
    font-size: 32px;
    font-weight: 300;
    z-index: 1;
    color: #1a2a6c;
    /* margin: 0 0 14px 0; */
    /* font-family: Georgia, serif; */
}

.fac-underline {
    width: 60px;
    height: 3px;
    background-color: #b2162a;
    margin: 0;
}

/* ── Swiper wrapper ── */
.fac-swiper {
    padding: 10px 4px 50px !important;
}

/* ── Card ── */
.fac-card {
    height: 450px;
    background: #ffffff;
    border-radius: 0;
    box-shadow: 0 4px 12px rgba(160, 160, 160, 0.308);
    overflow: hidden;
    cursor: pointer;
}

/* ── Image Wrap ── */
.fac-img-wrap {
    position: relative;
    overflow: hidden;
    height: 210px;
}

.fac-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

/* ── Circular Hover Overlay ── */
.fac-circle-overlay {
    position: absolute;
    top: 50%;
    right: -100%;
    transform: translateY(-50%);
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background-color: rgba(139, 30, 50, 0.65);
    transition: right 0.4s ease;
    pointer-events: none;
}

.fac-card:hover .fac-circle-overlay {
    right: -60px;
}

.fac-card:hover .fac-img-wrap img {
    transform: scale(1.04);
}

/* ── Card Body ── */
.fac-body {
    padding: 22px 20px 20px;
    text-align: left;
}

.fac-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a2a6c;
    margin: 0 0 12px 0;
    /* font-family: Georgia, serif; */
}

.fac-body p {
    font-size: 13.5px;
    color: #555;
    line-height: 1.7;
    /* margin: 0 0 14px 0; */
    /* font-family: Arial, sans-serif; */
}

.fac-know-more {
    font-size: 14px;
    color: #c0392b;
    font-style: italic;
    text-decoration: none;
    /* font-family: Georgia, serif; */
}

.fac-know-more:hover {
    text-decoration: underline;
}

/* ── Swiper Nav Arrows ── */
.fac-prev,
.fac-next {
    color: #b2162a !important;
}

.fac-prev::after,
.fac-next::after {
    font-size: 22px !important;
    font-weight: 700;
}
/* alumini  */
/* Premium Base Styling */
.alumni-section {
    background: linear-gradient(135deg, #a61527 0%, #c0182d 100%);
    padding: 10px 0;
    font-family: "Inter", sans-serif;
}

.alumni-container {
    /* max-width: 1200px; */
    /* margin: 0 auto; */
    padding: 0 20px;
}

/* Header */
.alumni-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* margin-bottom: 50px; */
    padding: 10px 10px;
}

.alumni-title {
    padding: 10px 0px;
    font-family: "Montserrat", sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
    margin: 0;
}

.alumni-learn-more {
    font-size: 15px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    transition: border-color 0.3s;
}

.alumni-learn-more:hover {
    border-color: #fff;
}

/* Slider Row */
.alumni-slider-row {
    display: flex;
    align-items: center;
    gap: -10px;
}

/* Refined Arrows */
.alumni-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.alumni-arrow:hover {
    background-color: #ffffff;
    color: #c0182d;
}

/* ========================================
    Card Styling (Transparent/No Background)
    ========================================
    */
.alumni-card {
    background: transparent; /* Background removed */
    /* No padding needed */
    display: flex;
    width: 100%;
    flex-direction: column;
    height: 400px;
    padding: 10px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.alumni-card:hover {
    transform: translateY(8px); /* Subtle lift on hover */
}
.alumni-card img {
    width: 250px;
    padding: 5px;
    height: 300px; /* Uniform height for alignment */
    object-fit: cover;
    object-position: top;
    border-radius: 12px; /* Rounded corners for premium feel */
    display: block;
    margin-bottom: 20px;
    box-shadow: 0 8px 16px rgba(255, 255, 255, 0.2); /* Shadow on image only */
}

@media (max-width: 768px) {
    .alumni-card img {
        width: 100%;
        max-width: 320px;
        height: 345px;
        margin: 0 auto 15px;
        display: block;
    }
}

/* Text styling for red background */
.alumni-card h4 {
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #ffffff; /* White text */
    margin: 0 0 8px 0;
    line-height: 26px;
}

.alumni-card p {
    font-family: "open sans", sans-serif;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75); /* Soft white text */
    margin: 0;
    line-height: 23px;
    font-weight: 400;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .alumni-section {
        padding: 50px 0;
    }
    .alumni-header {
        margin-bottom: 30px;
    }
    .alumni-arrow {
        display: none;
    }
}

/* cahirpersons message  */
/* Global Typography */
.premium-about-section1 {
    /* font-family: 'Lato', sans-serif; */
    padding: 40px 20px;
    background-color: #fcfcfc;
}

.container {
    /* max-width: 1100px; */
    margin: 0 auto;
}

/* Welcome Layout */
.welcome-layout {
    display: flex;
    gap: 60px;
    align-items: center;
    margin-bottom: 30px;
}

.welcome-image-wrapper img {
    width: 100%;
    max-width: 450px;
    height: 337px;
    object-fit: cover;
    border-radius: 12px;

    box-shadow: 0 2px 10px 4px rgba(15, 15, 15, 0.25);
}

/* Typography Polish */
.welcome-header h4 {
    /* font-family: 'Playfair Display', serif; */
    font-size: 12px;
    color: #1a2a6c;
    margin: 0 0 15px 0;
}

.header-divider {
    width: 60px;
    height: 4px;
    background-color: #b01629;
    margin-bottom: 25px;
}

.welcome-text p {
    font-size: 17px;
    line-height: 1.8;
    color: #272626;
}

.view-more-btn {
    background-color: #1a2a6c;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    margin-top: 25px;
    transition: 0.3s;
}

/* Stats Area */
.stats-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
    color: white;
    background: #b01629;
    padding: 70px;
    border-radius: 12px;
    box-shadow: 0 2px 10px 4px rgba(15, 15, 15, 0.25);
    border-right: 4px solid #0d1a47;
}

.stat-item {
    text-align: center;
    /* border-right: 1px solid #eee; */
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 10px 0;
}

.stat-text {
    font-weight: 700;
    color: #ffffff;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 900px) {
    .welcome-layout {
        flex-direction: column;
        text-align: center;
    }
    .welcome-header {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .stats-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    .stat-item:nth-child(2) {
        border-right: none;
    }
}

@media (max-width: 500px) {
    .stats-wrapper {
        grid-template-columns: 1fr;
    }
    .stat-item {
        border-right: none;
    }
}

/* our team section  */
/* ══════════════════════════════════════
   SECTION
══════════════════════════════════════ */
.instr-themed {
    background-color: #ffffff;
    padding: 20px 0 0px;
    /* font-family: Arial, sans-serif; */
}

/* ══════════════════════════════════════
   TAGLINE BOX
══════════════════════════════════════ */
.instr-themed .section-title__tagline-box {
    display: flex;
    align-items: center;

    gap: 10px;
    margin-bottom: 10px;
}
.instr-themed .section-title__tagline {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ad1628;
}
.instr-themed .section-title__tagline-shape,
.instr-themed .section-title__tagline-shape-2 {
    width: 40px;
    height: 2px;
    background-color: #ad1628;
    display: inline-block;
}
.instr-themed .section-title__title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    /* font-family: Georgia, serif; */
    line-height: 1.35;
    margin-bottom: 40px;
}
.instr-themed .section-title__title span {
    color: #ad1628;
}

/* ══════════════════════════════════════
   CARD
══════════════════════════════════════ */
.instr-card {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    border-radius: 8px;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    overflow: hidden;
}
.instr-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 32px rgba(173, 22, 40, 0.15);
}

/* ══════════════════════════════════════
   IMAGE BOX
══════════════════════════════════════ */
.instr-img-box {
    position: relative;
    overflow: hidden;
}
.instr-img-box .instructors-one__img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform 0.4s ease;
}
.instr-card:hover .instr-img-box .instructors-one__img img {
    transform: scale(1.05);
}

/* ── Social overlay slides up on hover ── */
.instr-social-overlay {
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 14px 0;
    background: linear-gradient(to top, rgba(17, 40, 141, 0.85), transparent);
    transition: bottom 0.35s ease;
}
.instr-card:hover .instr-social-overlay {
    bottom: 0;
}
.instr-social-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: #ffffff;
    color: #ad1628;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition:
        background 0.2s,
        color 0.2s;
    /* font-family: Georgia, serif; */
}
.instr-social-btn:hover {
    background-color: #ad1628;
    color: #ffffff;
}

/* ══════════════════════════════════════
   CONTENT BELOW IMAGE
══════════════════════════════════════ */
.instr-content {
    padding: 18px 20px 16px;
    position: relative;
}
.instr-sub {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ad1628;
    margin: 0 0 5px 0;
}
.instr-name {
    font-size: 17px;
    font-weight: 700;
    /* font-family: Georgia, serif; */
    margin: 0 0 12px 0;
    color: #1a1a1a;
}
.instr-name a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s;
}
.instr-name a:hover {
    color: #ad1628;
}

/* Animated bottom bar on hover */
.instr-bottom-bar {
    height: 3px;
    background-color: #ad1628;
    width: 0;
    transition: width 0.35s ease;
}
.instr-card:hover .instr-bottom-bar {
    width: 100%;
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 767px) {
    .instr-img-box .instructors-one__img img {
        height: 310px;
    }
    .instr-themed .section-title__title {
        font-size: 24px;
    }
}

/* updates and news  */
/* ══════════════════════════════════════
   SECTION WRAPPER
══════════════════════════════════════ */
.custom-updates-section {
    background-color: #f8f7f786;
    padding: 20px 0 40px;
    /* font-family: Arial, sans-serif; */
}

.custom-updates-container {
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 0 0px;
}

/* ══════════════════════════════════════
   TAGLINE (reuses your existing theme styles)
   Only override if not already set globally
══════════════════════════════════════ */
.custom-updates-section .section-title__tagline-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.custom-updates-section .section-title__tagline {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #b2162a;
}

.custom-updates-section .section-title__tagline-shape,
.custom-updates-section .section-title__tagline-shape-2 {
    width: 40px;
    height: 2px;
    background-color: #b2162a;
    display: inline-block;
}

/* ══════════════════════════════════════
   3-COLUMN GRID
══════════════════════════════════════ */
.custom-updates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    /* margin-top: 40px; */
}

/* ══════════════════════════════════════
   COLUMN TITLE
══════════════════════════════════════ */
.custom-col-title {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    /* font-family: Georgia, serif; */
    margin: 0 0 18px 0;
}

.custom-col-title span {
    color: #b2162a;
}

/* ══════════════════════════════════════
   SHARED CARD BASE
══════════════════════════════════════ */
.custom-update-card,
.custom-list-card {
    background: #ffffff;
    box-shadow: 0 3px 16px rgba(0, 0, 0, 0.09);
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* ══════════════════════════════════════
   LEFT — IMAGE SLIDER
══════════════════════════════════════ */
.custom-update-img {
    position: relative;
    width: 100%;
    height: 310px;
    overflow: hidden;
}

.custom-update-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.custom-update-slide.active {
    opacity: 1;
}

.custom-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(123, 28, 46, 0.75);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    z-index: 5;
    line-height: 1;
    transition: background 0.2s;
    user-select: none;
}

.custom-nav-btn:hover {
    background: rgb(214, 50, 80);
}

.custom-prev {
    left: 10px;
}
.custom-next {
    right: 10px;
}

/* ══════════════════════════════════════
   LEFT — TEXT CONTENT
══════════════════════════════════════ */
.custom-update-content {
    padding: 20px 20px 10px;
    flex: 1;
}

.custom-update-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: #b2162a;
    margin: 0 0 10px 0;
    /* font-family: Georgia, serif; */
}

.custom-update-content p {
    font-size: 13.5px;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

/* ══════════════════════════════════════
   CENTER & RIGHT — SCROLLING LIST
══════════════════════════════════════ */
.custom-list-scroll {
    /* height: 210px; */
    overflow: hidden;
    position: relative;
}

.custom-list-inner {
    animation: customScrollUp 8s linear infinite;
}

.custom-list-inner:hover {
    animation-play-state: paused;
}

@keyframes customScrollUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

.custom-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid #f0e8e0;
    transition: background 0.2s;
}

.custom-item:hover {
    background: #fdf6ef;
}

.custom-item-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: #b2162a;
    flex-shrink: 0;
    margin-top: 5px;
}

.custom-item-text h4 {
    font-size: 14px;
    font-weight: 700;
    color: #222;
    margin: 0 0 3px 0;
    /* font-family: Georgia, serif; */
}

.custom-item-text p {
    font-size: 12.5px;
    color: #777;
    margin: 0 0 4px 0;
    line-height: 1.5;
}

.custom-item-text a {
    font-size: 12.5px;
    color: #b2162a;
    text-decoration: none;
    font-style: italic;
}

.custom-item-text a:hover {
    text-decoration: underline;
}

/* ══════════════════════════════════════
   BUTTON
══════════════════════════════════════ */
.custom-btn-box {
    padding: 18px 20px;
    text-align: center;
    border-top: 1px solid #f0e8e0;
    margin-top: auto;
}

.custom-thm-btn {
    display: inline-block;
    background-color: #b2162a;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 10px 24px;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 0.25s;
    /* font-family: Arial, sans-serif; */
}

.custom-thm-btn:hover {
    background-color: #5c1220;
    color: #ffffff;
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 992px) {
    .custom-updates-grid {
        grid-template-columns: 1fr 1fr;
    }
    .custom-col:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 576px) {
    .custom-updates-grid {
        grid-template-columns: 1.3fr;
    }
    .custom-col:first-child {
        grid-column: auto;
    }
}
/* testinomail2  */
/* ── Section Background ── */
.testi-themed {
    background-color: #be182c;
    padding: 48px 20px 60px;
    font-family: Arial, sans-serif;
}

/* ── Header Row ── */
.testi-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 28px;
}
.testi-learn-more {
    font-size: 13px;
    color: #fff;
    text-decoration: underline;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
    padding-top: 4px;
    opacity: 0.9;
}
.testi-learn-more:hover {
    opacity: 1;
}

/* ── Tagline ── */
.testi-themed .section-title__tagline-box {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.testi-themed .section-title__tagline-shape {
    width: 36px;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    display: inline-block;
}
.testi-themed .section-title__tagline {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}
.testi-themed .section-title__title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin: 0;
}
.testi-themed .section-title__title span {
    color: #fff;
}

/* ── Grid ── */
.testi-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

/* ── Card Shell ── */
.testi-news-card {
    background: #fff;
    border-radius: 4px;
    overflow: visible;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* ── Card Top (Quote Area) ── */
.testi-news-top {
    /* min-height: 190px; */
    /* padding: 28px 22px 22px; */
    position: relative;
    flex-shrink: 0;
}
.testi-top-dark1 {
    background: #1f3244;
}
.testi-top-dark2 {
    background: #162035;
}
.testi-top-light {
    background: #f5f0e8;
}

.testi-news-quote {
    font-size: 64px;
    color: #be182c;
    /* line-height: 0.6; */
    opacity: 0.3;
    /* margin-bottom: 16px; */
    font-family: Georgia, serif;
}
.testi-news-excerpt {
    font-size: 13px;
    color: #d0dde8;
    /* line-height: 1.75; */
}

/* ── Date Badge ── */
.testi-news-badge {
    position: absolute;
    border-radius: 4px;
    font-size: 11px;
    bottom: 0;
    left: 22px;
    transform: translateY(50%);
    background: #be182c;
    color: #fff;
    padding: 4px 8px;
    text-align: center;
    min-width: 80px;
    z-index: 2;
}
.testi-news-day {
    display: block;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}
.testi-news-mon {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

/* ── Card Bottom (Info Area) ── */
.testi-news-bottom {
    padding: 28px 22px 22px;
    flex: 1;
}
.testi-news-title {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.5;
    margin-bottom: 14px;
}
.testi-news-divider {
    height: 1px;
    background: #eee;
    margin-bottom: 14px;
}
.testi-news-footer {
    display: flex;
    align-items: center;
    gap: 10px;
}
.testi-news-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.testi-news-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}
.testi-news-info {
    flex: 1;
}
.testi-news-name {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
}
.testi-news-role {
    font-size: 11px;
    color: #999;
    margin-top: 2px;
}
.testi-news-stars {
    color: #e0a800;
    font-size: 13px;
    letter-spacing: 1px;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .testi-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .testi-news-grid {
        grid-template-columns: 1fr;
    }
    .testi-header {
        flex-direction: column;
        gap: 10px;
    }
}

/* gallery section  */

/* ── Section ── */
.gallery-section {
    background: #fff;
    /* padding: 10px 20px 10px; */
    overflow: hidden;
}

/*@media (max-width: 768px) {*/
/*    .gallery-section {*/
/*        padding: 30px 0px 40px;*/
/*    }*/
/*}*/

.gal-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 30px;
    border-bottom: 0.5px solid rgba(187, 137, 137, 0.36);
    padding-bottom: 14px;
}
.gal-tagline-box {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.gal-tagline-line {
    width: 36px;
    height: 2px;
    background: #be182c;
    display: inline-block;
}
.gal-tagline {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #be182c;
}
.gal-title {
    font-size: 28px;
    font-weight: 300;
    color: #1a2a6c;
}
.gal-title span {
    font-weight: 700;
}
.gal-view-all {
    font-size: 13px;
    color: #be182c;
    text-decoration: none;
    font-style: italic;
}
.gal-view-all:hover {
    text-decoration: underline;
}

/* ── Filters ── */
.gal-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}
.gal-filter-btn {
    padding: 7px 18px;
    border: 1.5px solid #ddd;
    background: #fff;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    color: #666;
    transition: all 0.25s;
}
.gal-filter-btn.active,
.gal-filter-btn:hover {
    background: #be182c;
    border-color: #be182c;
    color: #fff;
}

/* ── Grid ── */
.gal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.gal-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 4px;
       height: 282px;
    width: 420px;
    aspect-ratio: 4/3;
    background: #eee;
}
.gal-item.wide {
    grid-column: span 2;
}
.gal-item.tall {
    grid-row: span 2;
    aspect-ratio: unset;
}
.gal-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}
.gal-item:hover img {
    transform: scale(1.07);
}
.gal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 42, 108, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}
.gal-item:hover .gal-overlay {
    background: rgba(26, 42, 108, 0.45);
}
.gal-zoom-icon {
    color: #fff;
    font-size: 28px;
    opacity: 0;
    transform: scale(0.6);
    transition: all 0.3s;
}
.gal-item:hover .gal-zoom-icon {
    opacity: 1;
    transform: scale(1);
}
.gal-item-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
    padding: 18px 12px 10px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transform: translateY(100%);
    transition: transform 0.3s;
}
.gal-item:hover .gal-item-label {
    transform: translateY(0);
}

/* ── Lightbox ── */
.gal-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
}
.gal-lightbox.open {
    display: flex;
}
.gal-lb-inner {
    position: relative;
    max-width: 860px;
    width: 100%;
    max-height: 80vh;
}
.gal-lb-img {
    width: 100%;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 4px;
    display: block;
    animation: lbIn 0.3s ease;
}
@keyframes lbIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
.gal-lb-close {
    position: fixed;
    top: 20px;
    right: 28px;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    background: rgba(190, 24, 44, 0.8);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.gal-lb-close:hover {
    background: #be182c;
}
.gal-lb-prev,
.gal-lb-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.12);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.gal-lb-prev {
    left: 16px;
}
.gal-lb-next {
    right: 16px;
}
.gal-lb-prev:hover,
.gal-lb-next:hover {
    background: #be182c;
}
.gal-lb-caption {
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    margin-top: 12px;
    text-align: center;
}
.gal-lb-counter {
    color: rgba(255, 255, 255, 0.45);
    font-size: 12px;
    margin-top: 5px;
}

/* ── Responsive ── */
@media (max-width: 767px) {
    .gal-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gal-item.wide,
    .gal-item.tall {
        grid-column: span 1;
        grid-row: span 1;
        aspect-ratio: 4/3;
    }
}
@media (max-width: 480px) {
    .gal-grid {
        grid-template-columns: 1fr;
    }
}

/* CTA  */
.cta-themed {
    background: linear-gradient(
        135deg,
        #6b0f1f 0%,
        #b0172a 45%,
        #d42035 75%,
        #8c1020 100%
    );
    padding: 56px 0;
    position: relative;
    overflow: hidden;
    /* font-family: Arial, sans-serif; */
}

/* ── Decorative background circles ── */
.cta-bg-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.cta-bg-circle--1 {
    width: 340px;
    height: 340px;
    border: 50px solid rgba(255, 255, 255, 0.05);
    top: -120px;
    left: -80px;
}
.cta-bg-circle--2 {
    width: 220px;
    height: 220px;
    border: 36px solid rgba(255, 255, 255, 0.04);
    bottom: -80px;
    right: 120px;
}

/* ── Dot grid texture ── */
.cta-bg-dots {
    position: absolute;
    top: 0;
    right: 0;
    width: 260px;
    height: 100%;
    background-image: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.08) 1px,
        transparent 1px
    );
    background-size: 20px 20px;
    pointer-events: none;
}

/* ── Inner content row ── */
.cta-themed .cta-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
}

/* ── LEFT ── */
.cta-themed .cta-left {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    flex: 1;
}

/* Graduation cap icon box */
.cta-icon-box {
    width: 70px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Text block */
.cta-themed .cta-text {
    flex: 1;
}

.cta-themed .cta-subtitle {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    margin: 0 0 10px 0;
}

.cta-themed .cta-text h2 {
    font-size: 30px;
    font-weight: 700;
    color: #ffffff;
    /* font-family: Georgia, serif; */
    margin: 0 0 10px 0;
    line-height: 1.25;
}

.cta-themed .cta-text h2 span {
    color: #f2ece0;
    text-decoration: underline;
    text-decoration-color: rgba(242, 236, 224, 0.4);
    text-underline-offset: 5px;
}

.cta-themed .cta-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    line-height: 1.7;
    max-width: 420px;
}

/* ── DIVIDER ── */
.cta-divider {
    width: 1px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

/* ── RIGHT ── */
.cta-right {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .cta-right {
        flex-direction: column;
        gap: 0px;
        width: 100%;
        align-items: center;
    }
}

.cta-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.cta-action-note {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
}

/* Primary button */
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #f2ece0;
    color: #7b1c2e;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 14px 32px;
    text-decoration: none;
    /* font-family: Arial, sans-serif; */
    transition:
        background 0.25s ease,
        color 0.25s ease,
        gap 0.25s ease;
    white-space: nowrap;
}
.cta-btn:hover {
    background-color: #ffffff;
    color: #b0172a;
    gap: 16px;
}
.cta-btn-arrow {
    font-size: 18px;
    line-height: 1;
    transition: transform 0.25s ease;
}
.cta-btn:hover .cta-btn-arrow {
    transform: translateX(4px);
}

/* Secondary link */
.cta-btn-secondary {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.3);
    text-underline-offset: 4px;
    text-align: center;
    transition: color 0.2s;
}
.cta-btn-secondary:hover {
    color: #ffffff;
    text-decoration-color: rgba(255, 255, 255, 0.7);
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 991px) {
    .cta-themed .cta-content {
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }
    .cta-themed .cta-left {
        flex-direction: column;
        align-items: center;
    }
    .cta-divider {
        width: 80px;
        height: 1px;
    }
    .cta-themed .cta-desc {
        margin: 0 auto;
    }
}

@media (max-width: 575px) {
    .cta-themed {
        padding: 44px 0;
    }
    .cta-themed .cta-text h2 {
        font-size: 22px;
    }
    .cta-btn {
        padding: 12px 24px;
        font-size: 13px;
    }
}
/* courses  */
.courses-section {
    background: #be182c;
    padding: 50px 20px 60px;
    font-family: Arial, sans-serif;
}
.cs-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 28px;
}
.cs-tagline-box {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.cs-tagline-line {
    width: 36px;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    display: inline-block;
}
.cs-tagline {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}
.cs-main-title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}
.cs-main-title span {
    color: #fff;
}

.cs-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.cs-filter-btn {
    padding: 7px 18px;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.25s;
}
.cs-filter-btn.active,
.cs-filter-btn:hover {
    background: #fff;
    border-color: #fff;
    color: #be182c;
}

.cs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.cs-card {
    background: #fff;
    border-radius: 4px;
    overflow: visible;
    position: relative;
    display: flex;
    flex-direction: column;
    transition:
        transform 0.25s,
        box-shadow 0.25s;
}
.cs-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.cs-card-top {
    min-height: 180px;
    padding: 22px 22px 30px;
    position: relative;
    flex-shrink: 0;
}
.cs-top-dark1 {
    background: #1f3244;
}
.cs-top-dark2 {
    background: #162035;
}
.cs-top-dark3 {
    background: #1a2a6c;
}
.cs-top-dark4 {
    background: #0d1b2e;
}
.cs-top-dark5 {
    background: #243447;
}
.cs-top-light {
    background: #f5f0e8;
}

.cs-badge-cat {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: #fff;
}
.cs-cat-web {
    background: rgba(190, 24, 44, 0.85);
}
.cs-cat-design {
    background: rgba(255, 152, 0, 0.85);
}
.cs-cat-data {
    background: rgba(0, 150, 136, 0.85);
}
.cs-cat-biz {
    background: rgba(103, 58, 183, 0.85);
}
.cs-cat-mkt {
    background: rgba(33, 150, 243, 0.85);
}

.cs-course-name {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 10px;
}
.cs-name-dark {
    color: #1a1a1a;
}
.cs-course-meta {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 14px;
}
.cs-meta-dark {
    color: #888;
}

.cs-date-badge {
    position: absolute;
    bottom: 0;
    left: 22px;
    transform: translateY(50%);
    background: #be182c;
    color: #fff;
    padding: 10px 14px;
    text-align: center;
    min-width: 52px;
    z-index: 2;
}
.cs-badge-top {
    display: block;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
}
.cs-badge-bot {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

.cs-card-bottom {
    padding: 28px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.cs-card-desc {
    font-size: 13px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 14px;
    flex: 1;
}
.cs-divider {
    height: 1px;
    background: #eee;
    margin-bottom: 14px;
}
.cs-card-footer {
    display: flex;
    align-items: center;
    gap: 10px;
}
.cs-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #1a2a6c;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cs-inst-info {
    flex: 1;
}
.cs-inst-name {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
}
.cs-inst-role {
    font-size: 11px;
    color: #999;
    margin-top: 2px;
}
.cs-price-block {
    text-align: right;
    flex-shrink: 0;
}
.cs-price {
    font-size: 16px;
    font-weight: 700;
    color: #be182c;
}
.cs-price-old {
    font-size: 11px;
    color: #bbb;
    text-decoration: line-through;
}

.cs-enroll-btn {
    display: block;
    width: 100%;
    margin-top: 14px;
    padding: 11px;
    background: #1a2a6c;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    border: none;
    cursor: pointer;
    border-radius: 2px;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: background 0.2s;
}
.cs-enroll-btn:hover {
    background: #be182c;
}

/* Pagination */
.cs-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 36px;
    flex-wrap: wrap;
}
.cs-page-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.cs-page-btn.active,
.cs-page-btn:hover {
    background: #fff;
    color: #be182c;
    border-color: #fff;
}
.cs-page-btn:disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

.cs-no-results {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    padding: 40px 0;
}

@media (max-width: 900px) {
    .cs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 560px) {
    .cs-grid {
        grid-template-columns: 1fr;
    }
    .cs-header {
        flex-direction: column;
        gap: 10px;
    }
}
/* testinoamials section */
/* ── Section ── */
.testi-page-section {
    background: #be182c;
    padding: 50px 20px 60px;
    font-family: Arial, sans-serif;
}

/* ── Header ── */
.tp-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 28px;
}
.tp-tagline-box {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.tp-tagline-line {
    width: 36px;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    display: inline-block;
}
.tp-tagline {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}
.tp-main-title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}
.tp-main-title span {
    color: #fff;
}

/* ── Filter Tabs ── */
.tp-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.tp-filter-btn {
    padding: 7px 18px;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.25s;
}
.tp-filter-btn.active,
.tp-filter-btn:hover {
    background: #fff;
    border-color: #fff;
    color: #be182c;
}

/* ── Grid ── */
.testi-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

/* ── Card Shell ── */
.testi-news-card {
    background: #fff;
    border-radius: 4px;
    overflow: visible;
    position: relative;
    display: flex;
    flex-direction: column;
    transition:
        transform 0.25s,
        box-shadow 0.25s;
}
.testi-news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

/* ── Card Top (Quote Area) ── */
.testi-news-top {
    min-height: 190px;
    padding: 28px 22px 30px;
    position: relative;
    flex-shrink: 0;
}
.testi-top-dark1 {
    background: #1f3244;
}
.testi-top-dark2 {
    background: #162035;
}
.testi-top-dark3 {
    background: #1a2a6c;
}
.testi-top-dark4 {
    background: #0d1b2e;
}
.testi-top-dark5 {
    background: #243447;
}
.testi-top-light {
    background: #f5f0e8;
}

/* Big quote icon */
.testi-news-quote {
    font-size: 64px;
    color: #be182c;
    /* line-height: 0.6; */
    opacity: 0.3;
    /* margin-bottom: 16px; */
    font-family: Georgia, serif;
}

/* Excerpt text */
.testi-news-excerpt {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    /* line-height: 1.75;  */
}
.testi-excerpt-dark {
    color: #555 !important;
}

/* Date Badge */
.testi-news-badge {
    position: absolute;
    bottom: 0;
    left: 22px;
    transform: translateY(50%);
    background: #be182c;
    color: #fff;
    padding: 10px 14px;
    text-align: center;
    min-width: 52px;
    z-index: 2;
}
.testi-news-day {
    display: block;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}
.testi-news-mon {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

/* ── Card Bottom ── */
.testi-news-bottom {
    padding: 28px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.testi-news-title {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.5;
    margin-bottom: 14px;
    flex: 1;
}
.testi-news-divider {
    height: 1px;
    background: #eee;
    margin-bottom: 14px;
}
.testi-news-footer {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Avatar */
.testi-news-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1a2a6c;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.testi-news-info {
    flex: 1;
}
.testi-news-name {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
}
.testi-news-role {
    font-size: 11px;
    color: #999;
    margin-top: 2px;
}
.testi-news-stars {
    color: #e0a800;
    font-size: 14px;
    letter-spacing: 1px;
}

/* ── Pagination ── */
.tp-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 36px;
    flex-wrap: wrap;
}
.tp-page-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.tp-page-btn.active,
.tp-page-btn:hover {
    background: #fff;
    color: #be182c;
    border-color: #fff;
}
.tp-page-btn:disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

/* ── No Results ── */
.tp-no-results {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    padding: 40px 0;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .testi-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 560px) {
    .testi-news-grid {
        grid-template-columns: 1fr;
    }
    .tp-header {
        flex-direction: column;
        gap: 10px;
    }
}
/* annocementpage  */

/* faq */
/* ── Matches About Page Theme ── */
.page-section {
    display: flex;
    min-height: 600px;
    font-family: Arial, sans-serif;
}

/* ── LEFT SIDEBAR ── */
.sidebar {
    width: 240px;
    flex-shrink: 0;
    background: #9b1c1c;
    /* maroon matching the screenshot */
}

.sidebar-heading {
    background: #7b1212;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 14px 18px;
    margin: 0;
}

.sidebar-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-nav li a {
    display: block;
    padding: 11px 18px;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.2s;
}

.sidebar-nav li a:hover {
    background: rgba(255, 255, 255, 0.12);
}

.sidebar-nav li a.active {
    background: #fff;
    color: #9b1c1c;
    font-weight: 600;
}

/* ── MAIN CONTENT ── */
.page-content {
    flex: 1;
    padding: 30px 40px;
    background: #fff;
}

.page-content h2 {
    font-size: 26px;
    font-weight: 700;
    color: #9b1c1c;
    margin-bottom: 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #ddd;
}

/* ── SEARCH BAR ── */
.faq-search-wrap {
    margin: 24px 0 28px;
    position: relative;
}

.faq-search-wrap input {
    width: 100%;
    padding: 11px 44px 11px 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.faq-search-wrap input:focus {
    border-color: #9b1c1c;
}

.faq-search-wrap .search-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9b1c1c;
    font-size: 16px;
}

/* ── FAQ CATEGORY TABS ── */
.faq-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.faq-tab-btn {
    padding: 6px 16px;
    border: 1.5px solid #9b1c1c;
    background: #fff;
    color: #9b1c1c;
    font-size: 13px;
    font-weight: 600;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s;
}

.faq-tab-btn.active,
.faq-tab-btn:hover {
    background: #9b1c1c;
    color: #fff;
}

/* ── ACCORDION ── */
.faq-group {
    margin-bottom: 30px;
}

.faq-group-title {
    font-size: 15px;
    font-weight: 700;
    color: #9b1c1c;
    border-left: 4px solid #9b1c1c;
    padding-left: 12px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.faq-item {
    border: 1px solid #e5e5e5;
    border-radius: 3px;
    margin-bottom: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: #f9f9f9;
    border: none;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 600;
    color: #222;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.faq-question:hover {
    background: #f1e8e8;
}

.faq-question.open {
    background: #9b1c1c;
    color: #fff;
}

.faq-question .faq-arrow {
    font-size: 18px;
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 12px;
}

.faq-question.open .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition:
        max-height 0.35s ease,
        padding 0.25s ease;
    background: #fff;
    font-size: 14px;
    color: #444;
    line-height: 1.75;
    padding: 0 18px;
}

.faq-answer.open {
    max-height: 400px;
    padding: 14px 18px;
    border-top: 1px solid #eee;
}

/* ── STILL NEED HELP BOX ── */
.help-box {
    margin-top: 36px;
    background: #f7f0f0;
    border-left: 4px solid #9b1c1c;
    padding: 20px 24px;
    border-radius: 3px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.help-box-icon {
    font-size: 28px;
    color: #9b1c1c;
    flex-shrink: 0;
    margin-top: 2px;
}

.help-box h5 {
    font-size: 15px;
    font-weight: 700;
    color: #9b1c1c;
    margin: 0 0 6px;
}

.help-box p {
    font-size: 13px;
    color: #555;
    margin: 0 0 12px;
}

.help-box-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.help-box-links a {
    background: #9b1c1c;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 18px;
    border-radius: 3px;
    text-decoration: none;
    transition: background 0.2s;
}

.help-box-links a:hover {
    background: #7b1212;
}

.help-box-links a.outline {
    background: transparent;
    border: 1.5px solid #9b1c1c;
    color: #9b1c1c;
}

.help-box-links a.outline:hover {
    background: #9b1c1c;
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .page-section {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .page-content {
        padding: 20px 18px;
    }
}

.alumni-card p,
.alumni-card h4 {
    display: none !important;
}


.custom-about-dropdown {
    position: relative;
}

.about-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    /* min-width: 320px; */
    background: #fff;
    border-radius: 10px;
    color:#fff;
    /* padding: 10px 0; */
    margin-top: 12px;
    list-style: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 1px solid #eee;
    display: none;
    z-index: 9999;
}

.custom-about-dropdown:hover .about-dropdown-menu {
    display: block;
}

.about-dropdown-item {
    display: block;
    
 background: #b71c2b;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all .25s ease;
}

.about-dropdown-item:hover {
    background: #b71c2b;
    color: #fff;
    padding-left: 28px;
}

.about-dropdown-menu li:not(:last-child) {
    border-bottom: 1px solid #f2f2f2;
}
.about-dropdown-menu{
    padding: 0 !important;
}
.dropdown-toggle1{
    color:white !important;
}