/* Floating WhatsApp contact button */
.whatsapp-sticky {
    width: 48px;
    height: 48px;
    line-height: 48px;
    position: fixed;
    bottom: 20px;
    left: 50px;
    z-index: 9;
    text-align: center;
    border-radius: 50%;
    color: #fff;
    background: #25d366;
    font-size: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-sticky:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(37, 211, 102, 0.35);
}

@media (max-width: 767px) {
    .whatsapp-sticky {
        left: 20px;
    }

    .scroll-top {
        right: 20px;
    }
}
.header-btn {
    background-color: var(--it-theme-1);
    padding: 15px 20px !important;
    color: white !important;
    border-radius: 100px;
}

.header-btn:hover {
    background-color: var(--it-theme-2);

}

.topbar-admission-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 20px;
    border: 2px solid #ffd500;
    border-radius: 999px;
    background-color: var(--it-theme-1);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
    text-transform: uppercase;
    transform: translate(-50%, -50%);
    transition: 0.3s ease;
}

.topbar-admission-btn:hover,
.topbar-admission-btn:focus-visible {
    background-color: #ffd500;
    color: #171717;
    box-shadow: 0 0 0 4px rgba(255, 213, 0, 0.2);
}

@media (max-width: 575px) {
    .topbar-admission-btn {
        min-height: 32px;
        padding: 7px 13px;
        font-size: 11px;
    }
}

.section-wrapper {
    padding: 80px 0;
    /* background: radial-gradient(circle at top right, #fdf2f0, transparent 40%),
                        radial-gradient(circle at bottom left, #eef2f7, transparent 40%); */
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-weight: 600;
    color: #333;
    letter-spacing: -0.5px;
}

.section-header p {
    color: #888;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Slider Logic */
.slider-window {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 40px 0;
}

.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.slide-card {
    flex: 0 0 300px;
    margin: 0 15px;
    border-radius: 20px;
    overflow: hidden;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.5s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

/* Image Areas per Grade */
.card-img-box {
    max-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: #fff;
}

.card-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Dynamic Footer Backgrounds */
.card-content {
    padding: 15px;
    text-align: center;
    color: white;
    flex-grow: 1;
}

/* Color Variations */
.card-terracotta .card-content {
    background-color: var(--it-theme-1);
}

.card-gold .card-content {
    background-color: var(--it-theme-2);
}

.card-navy .card-content {
    background-color: #1a2942;
}

.slide-card h4 {
    font-weight: 500;
    color: white;
    font-size: 22px;
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: white;
    padding: 8px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: 0.3s;
    display: inline-block;
}

.btn-outline:hover {
    background: white;
    color: #1a2942;
}

/* Active State (The Zoom Effect) */
.slide-card.active {
    transform: scale(1.15);
    z-index: 10;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* Controls */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--it-theme-1);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 20;
    cursor: pointer;
}

.prev-btn {
    left: 5%;
}

.next-btn {
    right: 5%;
}

/* Pagination Dots */
.dots-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 10px;
}

.dot {
    width: 8px;
    height: 8px;
    background: #ccc;
    border-radius: 50%;
    transition: 0.3s;
}

.dot.active {
    width: 25px;
    border-radius: 10px;
    background: #1a2942;
}

/* Default (optional) */
.card-img-box {
    background: #fff;
}

/* Different backgrounds for each card */
.card-terracotta .card-img-box {
    background: var(--it-theme-1);
}

.card-gold .card-img-box {
    background: var(--it-theme-2);
}

.card-navy .card-img-box {
    background: #1a2942;
}

.card-green .card-img-box {
    background: #d7f0dd;
}

.card-purple .card-img-box {
    background: #e6ddf7;
}

.footer-bg {
    position: relative;
    background: url('../img/clay/footer-bg.jpg') no-repeat center center/cover;
}

/* Milky white overlay */
.footer-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.95);
    /* milky effect */
    z-index: 1;
}

/* Keep all footer content above overlay */
.footer-bg * {
    position: relative;
    z-index: 2;
}

.it-footer-widget-menu ul li a {
    color: black;
}

.footer-contact-link {
    color: black;
}

.footer-contact-link:hover {
    color: var(--it-theme-1) !important;
}

.contact-span {
    color: var(--it-theme-1) !important;
}

/* .it-header-area {
    padding: 10px 0;
} */

.it-copyright-area .col-12 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

@media(max-width:991px) {
    .it-copyright-area .col-12 {
        display: block;
        text-align: center;
    }

    .it-copyright-area .it-copyright-left {
        text-align: center;
    }
}

@media(max-width:768px) {
    .header-btn {
        margin-top: 20px;
        max-width: 180px;
        border-radius: 3px;
    }
}

.custom-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 260px;
    gap: 20px;
}

/* CARD BASE */
.box {
    position: relative;
    height: 100%;
    border-radius: 16px;
    padding: 20px;
    transition: all 0.35s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    font-weight: 600;
    transition: 0.3s;
}

.box:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* RED THEME */
.theme-red {
    background: #f9dede;
    border: 1.5px solid #ed1c24;
    color: #ed1c24;
}

/* YELLOW THEME */
.theme-yellow {
    background: #fdf3d9;
    border: 1.5px solid #f7c52f;
    color: #d4a300;
}

/* BLUE THEME */
.theme-blue {
    background: #e3ecf7;
    border: 1.5px solid #3b82f6;
    color: #2563eb;
}

/* GREEN THEME */
.theme-green {
    background: #e6f4ea;
    border: 1.5px solid #22c55e;
    color: #16a34a;
}

/* PURPLE THEME */
.theme-purple {
    background: #efe7f8;
    border: 1.5px solid #8b5cf6;
    color: #7c3aed;
}

/* IMAGE */
.box img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s;
    border-radius: 16px;
}

.image-card::before {
    border-radius: 16px;
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    transition: 0.3s;
}

.image-card:hover::before {
    background: rgba(0, 0, 0, 0.95);
}

.image-card img {
    position: absolute;
    z-index: 1;
    /* image below */
}

.image-card::before {
    z-index: 2;
    /* overlay above image */
}

.image-card h5 {
    color: white;
}

.image-card p {
    color: white;
}

.box-content {
    z-index: 3;
    /* text above overlay */
}

/* .image-card:hover img {
  transform: scale(1.08);
} */

/* CONTENT */
/* CONTENT WRAPPER */
.box-content {
    position: absolute;
    inset: 0;
    z-index: 3;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    padding: 20px;
}

/* TITLE (DEFAULT VISIBLE) */
.box-content h5 {
    margin: 0;
    transition: 0.3s;
}

/* PARAGRAPH (HIDDEN BY DEFAULT) */
.box-content p {
    position: absolute;
    opacity: 0;
    transform: translateY(10px);
    transition: 0.3s;
    font-size: 14px;
    max-width: 90%;
}

/* HOVER BEHAVIOR */
.box:hover h5 {
    opacity: 0;
    transform: translateY(-10px);
}

.box:hover p {
    opacity: 1;
    transform: translateY(0);
}

/* RED BOX */
.box.red {
    background: #ed1c24;
}



.box:hover::before {
    background: rgba(0, 0, 0, 0.7);
}

.box:hover .box-content p {
    opacity: 1;
    transform: translateY(0);
}

/* GRID STRUCTURE */
.item-1 {
    grid-row: span 2;
}

.item-10 {
    grid-column: span 2;
}

.item-11 {
    grid-column: span 2;
}

/* ========================= */
/* TABLET */
/* ========================= */
@media (max-width: 992px) {
    .custom-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .item-1,
    .item-10,
    .item-11 {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* ========================= */
/* MOBILE */
/* ========================= */
@media (max-width: 576px) {
    .custom-grid {
        grid-template-columns: 1fr;
    }
}

/* Section */
.stats-section {
    padding: 80px 0;
}

/* Card */
.stat-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: left;
    position: relative;
    overflow: hidden;
    height: 100%;

    /* ✅ Normal shadow added */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);

    transition: 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);

    /* Slightly stronger on hover */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.span-title-custom {
    color: var(--it-theme-1);
}

/* Icon circle */
.icon-box {
    width: 80px;
    height: 80px;
    background: rgba(255, 0, 0, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.icon-box i {
    font-size: 26px;
    color: #ff2d2d;
}

/* Number */
.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #ff2d2d;
    margin-bottom: 8px;
}

/* underline */
.stat-line {
    width: 40px;
    height: 3px;
    background: #ff2d2d;
    margin-bottom: 15px;
}

/* Text */
.stat-text {
    color: #6c757d;
    font-size: 15px;
    line-height: 1.6;
}

/* Decorative shape */
.stat-card::after {
    content: "";
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    background: rgba(255, 0, 0, 0.05);
    border-radius: 50%;
}

.custom-grid .color-box {
    position: relative;
}


.color-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 0.08;
    /* adjust as needed */
    z-index: 0;
}

/* .box-content{
    position: relative;
    z-index: 1;
} */
.item-1 .color-box::before {
    background-image: url('../img/clay/bg-image.jpg');
}

.item-4 .color-box::before {
    background-image: url('../img/clay/bg-image.jpg');
}

.item-6 .color-box::before {
    background-image: url('../img/clay/bg-image.jpg');
}

.item-9 .color-box::before {
    background-image: url('../img/clay/bg-image.jpg');
}

.item-11 .color-box::before {
    background-image: url('../img/clay/bg-image.jpg');
}

.item-13 .color-box::before {
    background-image: url('../img/clay/bg-image.jpg');
}


.cta-banner-link {
    display: block;
    width: 100%;
}

.cta-banner-link img {
    width: 100%;
    height: auto;
    max-height: 500px;
    display: block;
    border-radius: 24px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.cta-banner-link:hover img {
    transform: scale(1.02);
}

/* Tablet */
@media (max-width: 991px) {
    .cta-banner-section {
        padding: 60px 0;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .cta-banner-section {
        padding: 40px 0;
    }

    .cta-banner-link img {
        border-radius: 16px;
    }

}

@media (max-width: 576px) {
    .custom-grid {
        grid-template-columns: 1fr;
    }

    .item-1 {
        grid-row: span 2;
    }

    .it-categories-2-thumb img {
        max-height: 200px;
    }

    .stat-card {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

.breadcrumb-banner {
    position: relative;
    height: 350px;
    background: url(../img/clay/banner/breadcrumb.webp) center center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.breadcrumb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.breadcrumb-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 20px;
}

.breadcrumb-content h1 {
    font-size: 32px;
    color: #fff;
    margin-bottom: 15px;
}

.breadcrumb-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.breadcrumb-list a,
.breadcrumb-list span {
    color: #fff;
    font-size: 16px;
    text-decoration: none;
}

body:not(#body) .it-section-subtitle,
.it-section-subtitle,
.it-section-subtitle.yellow-style {
    color: #ffffff !important;
    background-color: var(--it-common-black) !important;
    border: 1px solid var(--it-common-black) !important;
}

.it-section-subtitle svg path,
.it-section-subtitle svg,
.it-section-subtitle i {
    fill: #ffffff !important;
    color: #ffffff !important;
}

@media (max-width: 767px) {
    .breadcrumb-banner {
        min-height: 350px;
    }

    .breadcrumb-content h1 {
        margin-bottom: 10px;
    }
}

.vm-section {
    padding: 120px 0;
    background: var(--it-gray-3);
}

.vm-nav {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.vm-nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-radius: 10px;
    background: var(--it-common-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--it-common-black);
    text-decoration: none;
}

.vm-nav-item.active {
    background: var(--it-theme-1);
    color: var(--it-common-white);
}

.vm-nav-item.active h6,
.vm-nav-item.active p {
    color: var(--it-common-white);
}

.vm-icon {
    width: 60px;
    height: 60px;
    flex: 0 0 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(237, 28, 36, .08);
    color: var(--it-theme-1);
}

.vm-nav-item.active .vm-icon {
    font-size: 20px;
    background: rgba(255, 255, 255, .15);
    color: var(--it-common-white);
}

.vm-nav-item h4 {
    margin-bottom: 3px;
}

.vm-nav-item p {
    margin-bottom: 0;
    color: var(--it-text-body);
}

.vm-content-block {
    /* min-height: 80vh; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 80px;
}

.vm-subtitle {
    display: inline-block;
    margin-bottom: 15px;
    color: var(--it-theme-1);
    font-family: var(--it-ff-spartan-semibold);
}

.vm-content-block h2 {
    margin-bottom: 25px;
}

.vm-content-block p:last-child {
    margin-bottom: 0;
}


/* Tablet & Mobile */

@media (max-width: 991px) {

    .vm-section {
        padding: 80px 0;
    }

    .vm-nav {
        position: relative;
        top: auto;
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 15px;
    }

    .vm-nav-item {
        min-width: 260px;
        flex-shrink: 0;
    }

    .vm-content-block {
        min-height: auto;
        padding: 60px 0;
    }
}

@media (max-width: 575px) {

    .vm-nav-item {
        min-width: 220px;
        padding: 15px;
    }

    .vm-icon {
        width: 50px;
        height: 50px;
        flex: 0 0 50px;
    }
}

/* =========================================
   Campus Tour Card & Modal CSS
   (For All Campus Modals)
   ========================================= */

/* Theme Colors */
.campus-tour-section .theme-primary,
.modal-dialog.campus-tour-modal .theme-primary {
    background-color: #ed1c24;
    color: #ffffff;
}

.campus-tour-section .text-primary-custom,
.modal-dialog.campus-tour-modal .text-primary-custom {
    color: #ed1c24;
}

/* Buttons */
.campus-tour-section .btn-theme,
.modal-dialog.campus-tour-modal .btn-theme {
    background-color: #ed1c24;
    color: #ffffff;
    border: none;
    transition: 0.3s ease;
}

.campus-tour-section .btn-theme:hover,
.modal-dialog.campus-tour-modal .btn-theme:hover {
    opacity: 0.9;
    color: #ffffff;
}

/* Card Image */
.campus-tour-section .card-img-top {
    object-fit: cover;
    height: 250px;
}

.campus-tour-section .card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.campus-tour-section .card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.campus-tour-section .card-body .btn {
    margin-top: auto;
}

/* ==========================
   Modal Styling
========================== */

.modal-dialog.campus-tour-modal {
    max-width: 700px;
    width: 95%;
    margin: auto;
}

.modal-dialog.campus-tour-modal .modal-content {
    max-height: 90vh;
    overflow: hidden;
    border-radius: 12px;
}

.modal-dialog.campus-tour-modal .modal-body {
    padding: 20px;
    overflow-y: auto;
    max-height: calc(90vh - 70px);
}

/* Image */
.modal-dialog.campus-tour-modal .campus-side-img {
    width: 100%;
    /* height: 180px; */
    object-fit: cover;
    border-radius: 10px;
}

/* Quick Facts */
.modal-dialog.campus-tour-modal .quick-facts-box {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    height: 100%;
}

.modal-dialog.campus-tour-modal .quick-facts-box p {
    margin-bottom: 10px;
    font-size: 14px;
}

/* Description */
.modal-dialog.campus-tour-modal .campus-description {
    border-top: 1px solid #e5e5e5;
    margin-top: 20px;
    padding-top: 15px;
}

.modal-dialog.campus-tour-modal .campus-description h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.modal-dialog.campus-tour-modal .campus-description p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Scrollbar */
.modal-dialog.campus-tour-modal .modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-dialog.campus-tour-modal .modal-body::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

/* ==========================
   Tablet
========================== */

@media (max-width: 991px) {

    .modal-dialog.campus-tour-modal {
        max-width: 650px;
    }

    .modal-dialog.campus-tour-modal .campus-side-img {
        height: 160px;
    }
}

/* ==========================
   Mobile
========================== */

@media (max-width: 767px) {

    .modal-dialog.campus-tour-modal {
        width: 95%;
        margin: 15px auto;
    }

    .modal-dialog.campus-tour-modal .modal-content {
        max-height: 92vh;
    }

    .modal-dialog.campus-tour-modal .modal-body {
        max-height: calc(92vh - 60px);
        padding: 15px;
    }

    .modal-dialog.campus-tour-modal .campus-side-img {
        height: 180px;
        margin-bottom: 15px;
    }

    .modal-dialog.campus-tour-modal .quick-facts-box {
        padding: 12px;
    }

    .modal-dialog.campus-tour-modal .campus-description h3 {
        font-size: 20px;
    }

    .modal-dialog.campus-tour-modal .campus-description p,
    .modal-dialog.campus-tour-modal .quick-facts-box p {
        font-size: 13px;
    }

    .modal-dialog.campus-tour-modal .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* Close Button */
.custom-close-button {
    width: 10px;
    height: 10px;
    font-size: 10px;
    top: 20px;
}

/* =========================================
   Ultra-Modern Gallery Section Styling
   ========================================= */

/* Gallery Item Container - Added a hover lift effect */
.it-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    /* Slightly softer, more modern corners */
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(11, 43, 74, 0.08);
    display: block;
    background-color: #f4f6f9;
    aspect-ratio: 4 / 3;
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Creates a subtle bounce */
}

/* Card lifts off the page on hover */
.it-gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(11, 43, 74, 0.15);
}

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

/* Image structural and animation styling */
.it-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
    display: block;
}

/* Premium zoom with a very slight rotation for dynamism */
.it-gallery-item:hover img {
    transform: scale(1.1) rotate(1deg);
}

/* Sleek Bottom-Up Gradient Overlay */
.it-gallery-item::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    /* Only covers the lower portion */
    /* Fades from #0b2b4a at the bottom to transparent */
    background: linear-gradient(to top, rgba(242, 42, 42, 0.9) 0%, rgba(245, 66, 66, 0) 100%);
    opacity: 0;
    transform: translateY(20px);
    /* Starts slightly pushed down */
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
    pointer-events: none;
}

.it-gallery-item:hover::before {
    opacity: 1;
    transform: translateY(0);
    /* Slides up into place */
}

/* Modern Glassmorphism (Frosted Glass) Icon Button */
.it-gallery-item::after {
    content: "\f067";
    /* A clean 'Plus' icon instead of the magnifying glass */
    font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free", "FontAwesome", sans-serif;
    font-weight: 300;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    /* The frosted glass effect */
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #ffffff;
    font-size: 24px;
    line-height: 64px;
    text-align: center;
    /* Starts invisible, tiny, and rotated */
    transform: translate(-50%, -50%) scale(0) rotate(-45deg);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
    pointer-events: none;
}

.it-gallery-item:hover::after {
    opacity: 1;
    /* Springs into full size and straightens out */
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
}

.admission-section {
    padding: 100px 0;
    background: #f8f8f8;
}

.admission-section .container {
    max-width: 1200px;
    margin: auto;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title span {
    color: #ED1C24;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title h2 {
    font-size: 48px;
    margin-top: 10px;
    color: #1d2d35;
}

.accordion-item {
    background: #fff;
    border-radius: 20px;
    margin-bottom: 22px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
    transition: .4s;
}

.accordion-header {
    width: 100%;
    background: none;
    border: none;
    padding: 28px 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 22px;
    font-weight: 600;
    color: #1d2d35;
    text-align: left;
}

.plus {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ED1C24;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
    font-size: 22px;
    transition: .4s;
    flex-shrink: 0;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height .5s ease;
}

.accordion-content p {
    padding: 0 35px 30px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

.accordion-item.active .accordion-content {
    max-height: 300px;
}

.accordion-item.active .plus {
    transform: rotate(45deg);
}

.accordion-item:hover {
    transform: translateY(-3px);
}

@media(max-width:768px) {

    .section-title h2 {
        font-size: 34px;
    }

    .accordion-header {
        padding: 22px;
        font-size: 18px;
    }

    .accordion-content p {
        padding: 0 22px 25px;
    }
}

.fee-structure-section {
    padding: 100px 0;
    background: #f8f8f8;
}

.fee-tables {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}

.fee-table-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid #ececec;
    transition: .4s ease;
    position: relative;
}

.fee-table-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(237, 28, 36, .08),
            transparent 50%);
    opacity: 0;
    transition: .4s;
}

.fee-table-card:hover {
    transform: translateY(-12px);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, .12),
        0 0 30px rgba(237, 28, 36, .18);
    border-color: #ED1C24;
}

.fee-table-card:hover::before {
    opacity: 1;
}

.fee-table-title {
    background: #ED1C24;
    color: #fff;
    padding: 18px 25px;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    letter-spacing: .5px;
}

.fee-table-card table {
    width: 100%;
    border-collapse: collapse;
}

.fee-table-card td {
    padding: 22px 25px;
    border: 1px solid #e8e8e8;
    transition: .3s;
}

.fee-table-card tr:hover td {
    background: #fff8f8;
}

.fee-table-card td:first-child {
    font-weight: 600;
    color: #1d2d35;
}

.fee-table-card td:last-child {
    text-align: right;
    color: #ED1C24;
    font-weight: 700;
    font-size: 18px;
}

@media(max-width:991px) {

    .fee-tables {
        grid-template-columns: 1fr;
    }
}

.fee-table-card td:last-child {
    width: 120px;
    text-align: center;
}

.pdf-cell {
    text-align: center;
}

.pdf-icon {
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #fff5f5;
    color: #ED1C24;
    font-size: 24px;
    border: 1px solid rgba(237, 28, 36, .15);
    transition: all .35s ease;
}

.pdf-icon:hover {
    background: #ED1C24;
    color: #fff;
    transform: translateY(-5px) scale(1.08);
    box-shadow:
        0 12px 25px rgba(237, 28, 36, .25),
        0 0 25px rgba(237, 28, 36, .15);
}

.fee-table-card tr {
    transition: .3s;
}

.fee-table-card tr:hover {
    background: #fff8f8;
}

.fee-table-card tr:hover td:first-child {
    padding-left: 35px;
}

.fee-table-card td {
    transition: .3s;
}

/* Gallery Section */
.campus-gallery-section {
    background: #f8f9fa;
}

/* Equal spacing */
.popup-gallery .row {
    margin: 0;
}

.campus-gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    height: 320px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all .4s ease;
}

.campus-gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s ease;
}

/* Overlay */
.campus-gallery-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.05) 0%,
            rgba(0, 0, 0, 0.2) 40%,
            rgba(0, 0, 0, 0.85) 100%);
    z-index: 1;
}

/* Content */
.gallery-content {
    position: absolute;
    bottom: 25px;
    left: 25px;
    right: 25px;
    z-index: 3;
    transition: .4s;
}

.gallery-content h4 {
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    margin: 0;
    transform: translateY(15px);
    transition: .4s ease;
}

/* Plus Icon */
.campus-gallery-card::after {
    content: '+';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #ED1C24;
    color: #fff;
    font-size: 32px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(-10px);
    transition: .4s ease;
    z-index: 3;
}

/* Link */
.campus-gallery-card a {
    display: block;
    width: 100%;
    height: 100%;
}

/* Hover Effects */
.campus-gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.campus-gallery-card:hover img {
    transform: scale(1.12);
}

.campus-gallery-card:hover::after {
    opacity: 1;
    transform: translateY(0);
}

.campus-gallery-card:hover .gallery-content h4 {
    transform: translateY(0);
}

/* Remove custom heights */
.campus-gallery-card.tall,
.campus-gallery-card.wide {
    height: 320px;
}

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

    .campus-gallery-card,
    .campus-gallery-card.tall,
    .campus-gallery-card.wide {
        height: 280px;
    }

    .gallery-content h4 {
        font-size: 20px;
    }
}

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

    .campus-gallery-card,
    .campus-gallery-card.tall,
    .campus-gallery-card.wide {
        height: 240px;
    }

    .gallery-content {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }

    .gallery-content h4 {
        font-size: 18px;
    }
}


.campus-gallery-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, .85),
            rgba(0, 0, 0, .2),
            transparent);
    z-index: 1;
    pointer-events: none;
    /* NEW: Allows clicks to pass through the gradient */
}

.campus-gallery-card::after {
    content: '+';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ED1C24;
    color: #fff;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(.5);
    transition: .4s;
    z-index: 3;
    pointer-events: none;
    /* NEW: Allows clicks to pass through the hover icon */
}

/* NEW: Forces the link to cover the entire clickable area */
.campus-gallery-card a {
    display: block;
    width: 100%;
    height: 100%;
}

/*=================================
    CAMPUS VISIT SECTION
=================================*/

.campus-visit-section {
    padding: 100px 0;
    background: #f8f8f8;
}

.visit-card {
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .08);
}

.visit-info {
    padding: 60px;
    background: linear-gradient(135deg,
            #ED1C24 0%,
            #c8151d 100%);
    color: #fff;
    position: relative;
}

.visit-info::before {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    top: -80px;
    right: -80px;
}

.visit-info::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .05);
    bottom: -60px;
    left: -60px;
}

.visit-title {
    font-size: 42px;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 40px;
}

.visit-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.visit-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(5px);
    transition: .35s;
}

.visit-feature:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, .18);
}

.visit-feature i {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: #fff;
    color: #ED1C24;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.visit-feature span {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

/* FORM SIDE */

.visit-form-wrap {
    padding: 60px;
}

.visit-form-wrap form {
    width: 100%;
}

.form-group {
    margin-bottom: 18px;
}

.form-group input,
.form-group select {
    width: 100%;
    height: 58px;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    padding: 0 20px;
    font-size: 15px;
    outline: none;
    transition: .3s;
    background: #fff;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #ED1C24;
    box-shadow: 0 0 0 4px rgba(237, 28, 36, .08);
}

.visit-btn {
    width: 100%;
    height: 58px;
    border: none;
    border-radius: 14px;
    background: #ED1C24;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: .35s;
}

.visit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(237, 28, 36, .25);
}

/* RESPONSIVE */

@media(max-width:991px) {

    .visit-card {
        grid-template-columns: 1fr;
    }

    .visit-info,
    .visit-form-wrap {
        padding: 40px;
    }

    .visit-title {
        font-size: 34px;
    }
}

@media(max-width:767px) {

    .visit-features {
        grid-template-columns: 1fr;
    }

    .visit-info,
    .visit-form-wrap {
        padding: 30px;
    }

    .visit-title {
        font-size: 28px;
    }
}

.form-group select {
    width: 100%;
    height: 58px;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    padding: 0 50px 0 20px;
    font-size: 15px;
    color: #555;
    background-color: #fff;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    cursor: pointer;
    transition: .3s;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23ED1C24' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");

    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 18px;
}

.form-group select:focus {
    border-color: #ED1C24;
    box-shadow: 0 0 0 4px rgba(237, 28, 36, .08);
}

.nice-select-disable {
    display: block !important;
}

.nice-select .current {
    display: none;
}

#careerModal .modal-content {
    border: 0;
    border-radius: 20px;
    overflow: hidden;
}

#careerModal .modal-header {
    background: #ED1C24;
    color: #fff;
    padding: 20px 30px;
}

#careerModal .btn-close {
    filter: brightness(0) invert(1);
}

#careerModal .modal-body {
    padding: 30px;
}

#careerModal .form-control {
    height: 55px;
    border-radius: 10px;
    border: 1px solid #ddd;
}

#careerModal textarea.form-control {
    height: auto;
}

#careerModal .it-btn-yellow {
    margin-top: 10px;
}

/* Career Modal */
.career-popup-dialog {
    max-width: 480px;
}

.career-popup-content {
    border: none;
    height: 80vh;
    width: 80%;
    margin: 0 auto;
    overflow-y: scroll !important;
    scrollbar-width: none;
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, .15);
}

.career-popup-header {
    background: #ED1C24;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.career-popup-header h4 {
    color: #fff;
    margin: 0;
    font-size: 24px;
}

.career-popup-close {
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: #ED1C24;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.career-popup-body {
    padding: 25px;
    background: #fff;
}

.career-form-group {
    margin-bottom: 15px;
}

.career-form-group input,
.career-form-group textarea {
    width: 100%;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 15px;
    transition: .3s;
}

.career-form-group input {
    height: 52px;
}

.career-form-group textarea {
    resize: none;
}

.career-form-group input:focus,
.career-form-group textarea:focus {
    border-color: #ED1C24;
    outline: none;
    box-shadow: 0 0 0 4px rgba(237, 28, 36, .08);
}

.career-submit-btn {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 10px;
    background: #ED1C24;
    color: #fff;
    font-weight: 600;
    transition: .3s;
}

.career-submit-btn:hover {
    background: #c8161d;
}

.career-upload-box {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 10px;
}

.career-upload-btn {
    background: #ED1C24;
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    margin: 0;
    font-size: 14px;
}

#file-name {
    color: #666;
    font-size: 14px;
}

.titlte-color-custom {
    color: var(--it-theme-1);
}

.course-info ul li a::before {
    content: "\f061";
    /* Font Awesome arrow-right */
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    font-size: 12px;
    margin-right: 12px;
    color: inherit;
}

.course-info ul li a:hover {
    color: var(--it-theme-1);
}

.clay-blog-header {
    text-align: center;
}

.clay-blog-category {
    display: inline-block;
    background: rgba(237, 28, 36, .1);
    color: #ED1C24;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.clay-blog-title {
    font-size: 48px;
    line-height: 1.2;
    font-weight: 700;
    color: #111;
    margin-bottom: 25px;
}

.clay-blog-meta {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    color: #666;
    font-size: 15px;
}

.clay-blog-meta i {
    color: #ED1C24;
    margin-right: 6px;
}

.clay-blog-thumb {
    border-radius: 20px;
    overflow: hidden;
}

.clay-blog-thumb img {
    width: 100%;
    border-radius: 20px;
}

.clay-blog-content {
    max-width: 900px;
    margin: 0 auto;
}

.clay-blog-content .lead-text {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    font-weight: 500;
    margin-bottom: 35px;
}

.clay-blog-content h3 {
    color: #111;
    font-size: 32px;
    margin-bottom: 20px;
    margin-top: 40px;
    position: relative;
    padding-left: 18px;
}

.clay-blog-content h3::before {
    content: "";
    width: 5px;
    height: 100%;
    background: #ED1C24;
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 10px;
}

.clay-blog-content p {
    color: black;
    line-height: 1.9;
    margin-bottom: 20px;
}

.clay-blog-content img {
    width: 100%;
    border-radius: 16px;
    margin: 35px 0;
}

.clay-blog-content blockquote {
    background: #f8f8f8;
    border-left: 4px solid #ED1C24;
    padding: 30px;
    font-size: 18px;
    line-height: 1.6;
    margin: 40px 0;
    border-radius: 10px;
    /* font-style: italic; */
    color: black;
}

.clay-blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.clay-blog-tags a {
    border: 1px solid #e5e5e5;
    padding: 10px 18px;
    border-radius: 30px;
    color: black;
    transition: .3s;
}

.clay-blog-tags a:hover {
    background: #ED1C24;
    color: #fff;
    border-color: #ED1C24;
}

@media (max-width: 768px) {
    .clay-blog-title {
        font-size: 32px;
    }


    .clay-blog-content h3 {
        font-size: 26px;
    }
}

.clay-about-pro {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(237, 28, 36, 0.08), transparent 35%),
        linear-gradient(180deg, #fff 0%, #fff8f8 100%);
}

.clay-about-shape {
    opacity: 0.25;
}

.clay-about-visual {
    position: relative;
    padding: 20px 30px 70px 0;
}

.clay-about-main-img {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

.clay-about-main-img img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    border-radius: 28px;
}

.clay-about-main-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.35));
}

.clay-about-small-img {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 250px;
    border: 10px solid #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
    z-index: 2;
}

.clay-about-small-img img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.clay-about-badge {
    position: absolute;
    left: 35px;
    bottom: 35px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 300px;
    padding: 18px 22px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
}

.clay-about-badge-icon {
    width: 58px;
    height: 58px;
    min-width: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ed1c24;
    color: #fff;
    border-radius: 16px;
    font-size: 24px;
}

.clay-about-badge h5 {
    margin: 0;
    font-size: 30px;
    line-height: 1;
    color: #1f2432;
    font-weight: 700;
}

.clay-about-badge span {
    display: block;
    margin-top: 5px;
    font-size: 14px;
    line-height: 1.4;
    color: #555;
}

.clay-about-content {
    padding-left: 25px;
}

.clay-section-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px;
    margin-bottom: 18px;
    background: rgba(237, 28, 36, 0.08);
    color: #ed1c24;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
}

.clay-about-content h2 {
    margin-bottom: 20px;
    font-size: 46px;
    line-height: 1.18;
    color: #1f2432;
    letter-spacing: -1px;
}

.clay-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin: 32px 0 35px;
}

.clay-feature-card {
    display: flex;
    gap: 14px;
    padding: 22px 18px;
    background: #fff;
    border: 1px solid rgba(237, 28, 36, 0.12);
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
    transition: 0.35s ease;
}

.clay-feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(237, 28, 36, 0.35);
    box-shadow: 0 18px 45px rgba(237, 28, 36, 0.12);
}

.clay-feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff1f1;
    color: #ed1c24;
    border-radius: 14px;
    font-size: 20px;
}

.clay-feature-card h6 {
    margin-bottom: 6px;
    color: #1f2432;
    font-size: 17px;
    font-weight: 700;
}

.clay-feature-card span {
    display: block;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* .clay-about-btn {
    box-shadow: 0 14px 30px rgba(237, 28, 36, 0.25);
} */

.clay-about-btn i {
    margin-left: 10px;
    color: #fff;
}

/* Tablet */
@media (max-width: 991px) {
    .clay-about-visual {
        margin-bottom: 60px;
        padding-right: 0;
    }

    .clay-about-content {
        padding-left: 0;
    }

    .clay-about-content h2 {
        font-size: 38px;
    }

    .clay-about-main-img img {
        height: 470px;
    }
}

/* Mobile */
@media (max-width: 575px) {
    .clay-about-pro {
        padding-top: 80px;
        padding-bottom: 70px;
    }

    .clay-about-visual {
        padding-bottom: 110px;
    }

    .clay-about-main-img img {
        height: 360px;
    }

    .clay-about-small-img {
        width: 190px;
        right: 10px;
    }

    .clay-about-small-img img {
        height: 150px;
    }

    .clay-about-badge {
        left: 10px;
        bottom: 20px;
        max-width: 250px;
        padding: 15px;
    }

    .clay-about-badge-icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
        font-size: 20px;
    }

    .clay-about-badge h5 {
        font-size: 24px;
    }

    .clay-about-content h2 {
        font-size: 31px;
    }

    .clay-feature-grid {
        grid-template-columns: 1fr;
    }
}

.header-logo {
    position: absolute;
    background: white;
    z-index: 2;
    padding: 5px;
    border-radius: 20px;
    top: 20px;
    box-shadow: rgba(7, 37, 68, 0.1) 0px 2px 4px;
}

.theme-bg1{
    background-color: #000;
}

/* ==========================================================================
   School Life Cards - Equal Height Alignment
   ========================================================================== */
.it-course-style-3 .row > [class*="col-"] {
    display: flex;
}

.it-course-style-3 .it-course-item {
    width: 100%;
    height: calc(100% - 35px);
    display: flex;
    flex-direction: column;
}

.it-course-style-3 .it-course-thumb {
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.it-course-style-3 .it-course-thumb a {
    display: block;
    width: 100%;
}

.it-course-style-3 .it-course-thumb img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    border-radius: 20px 20px 0 0;
    transition: transform 0.4s ease;
}

.it-course-style-3 .it-course-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.it-course-style-3 .it-course-title {
    margin-right: 0;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 20px;
}

.it-course-style-3 .it-course-title a {
    display: inline-block;
}

.it-course-style-3 .it-course-btn {
    margin-top: auto;
}

@media (max-width: 576px) {
    .it-course-style-3 .it-course-thumb img {
        height: 220px;
    }
}

/* Blog Cards Equal Height & Image Normalization */
.it-blog-item {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.it-blog-thumb img {
    height: 250px;
    width: 100%;
    object-fit: cover;
}

.it-blog-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.it-blog-title {
    min-height: 56px;
}

.it-blog-btn {
    margin-top: auto;
}

/* ===========================
   Blog Detail Page Styles
   =========================== */

/* Blog Detail Section */
.blog-details-area {
    background: #fff;
}

/* Blog Header */
.clay-blog-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 25px;
}

.clay-blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 15px;
}

.clay-blog-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.clay-blog-meta span i {
    color: var(--it-theme-1);
    font-size: 15px;
}

/* Blog Featured Image */
.clay-blog-thumb img {
    border-radius: 20px;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Blog Content Typography */
.clay-blog-content {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
}

.clay-blog-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    margin-top: 20px;
    margin-bottom: 8px;
    line-height: 1.3;
}

.clay-blog-content h3 {
    font-size: 21px;
    font-weight: 700;
    color: #1a1a2e;
    margin-top: 18px;
    margin-bottom: 6px;
    line-height: 1.3;
}

.clay-blog-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
    margin-top: 15px;
    margin-bottom: 5px;
    line-height: 1.4;
}

.clay-blog-content h5 {
    font-size: 17px;
    font-weight: 600;
    color: #1a1a2e;
    margin-top: 12px;
    margin-bottom: 5px;
}

.clay-blog-content p {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 8px;
}

.clay-blog-content strong {
    color: #1a1a2e;
    font-weight: 600;
}

.clay-blog-content a {
    color: var(--it-theme-1);
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.3s;
}

.clay-blog-content a:hover {
    color: var(--it-theme-2);
}

/* Lists */
.clay-blog-content ul,
.clay-blog-content ol {
    margin: 5px 0 10px 0;
    padding-left: 22px;
}

.clay-blog-content ul {
    list-style-type: disc;
}

.clay-blog-content ol {
    list-style-type: decimal;
}

.clay-blog-content li {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 3px;
    padding-left: 3px;
}

.clay-blog-content li strong {
    color: #1a1a2e;
}

/* Tables */
.clay-blog-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0 15px;
    font-size: 14px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.clay-blog-content table tr:first-child td,
.clay-blog-content table th {
    background: var(--it-common-black, #1a1a2e);
    color: #fff;
    font-weight: 600;
    padding: 10px 14px;
    text-align: left;
    font-size: 13px;
}

.clay-blog-content table td {
    padding: 9px 14px;
    border-bottom: 1px solid #eee;
    color: #555;
}

.clay-blog-content table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.clay-blog-content table tr:hover {
    background-color: #f0f4ff;
}

.clay-blog-content figure.table {
    margin: 10px 0;
    overflow-x: auto;
}

/* Blockquotes */
.clay-blog-content blockquote {
    border-left: 4px solid var(--it-theme-1);
    background: #f8f9fa;
    padding: 15px 20px;
    margin: 12px 0;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: #555;
}

/* Images inside content */
.clay-blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 10px 0;
}

.clay-blog-content figure.image {
    margin: 10px 0;
    text-align: center;
}

.clay-blog-content figure.image-style-side {
    float: right;
    max-width: 45%;
    margin: 0 0 15px 20px;
}


/* Responsive */
@media (max-width: 768px) {
    .clay-blog-content h2 {
        font-size: 20px;
        margin-top: 16px;
    }
    .clay-blog-content h3 {
        font-size: 18px;
    }
    .clay-blog-content h4 {
        font-size: 16px;
    }
    .clay-blog-content p,
    .clay-blog-content li {
        font-size: 14px;
    }
    .clay-blog-meta {
        gap: 10px;
    }
    .clay-blog-content figure.image-style-side {
        float: none;
        max-width: 100%;
        margin: 10px 0;
    }
    .clay-blog-content table {
        font-size: 12px;
    }
    .clay-blog-content table td,
    .clay-blog-content table tr:first-child td {
        padding: 7px 8px;
    }
}

/* Blog Content FAQ Accordion (matching FAQ page style) */
.clay-blog-content .it-custom-accordion h4 {
    margin: 0;
    line-height: normal;
}

.clay-blog-content .it-custom-accordion .accordion-buttons {
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
}

.clay-blog-content .it-custom-accordion .accordion-items {
    overflow: hidden;
    margin-bottom: 20px;
}

.clay-blog-content .it-custom-accordion .accordion-body {
    padding-top: 5px;
}

.clay-blog-content .it-custom-accordion .accordion-body ol,
.clay-blog-content .it-custom-accordion .accordion-body ul {
    margin: 5px 0 0 0;
}


