/* 
    Created on : 08-Nov-2025, 5:01:17 pm
    Author     : Rekheshwar Verma
    Url        : https://inclusionweb.com
    Project    : Shardapeeth
*/

:root {
    --primary-color: #14284e;
    --secondary-color: #b9923d;
    --muted: #6b7280;
    --card-shadow: 0 10px 30px rgba(20, 40, 78, 0.08);
    --assent-color: #f6d26d;
}

* {
    box-sizing: border-box
}

body {
    font-family: 'Poppins', sans-serif;
    color: #222;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Impact', sans-serif;
    color: var(--primary-color);
}

h2 {
    font-size: clamp(1.4rem, 2.8vw, 2rem);
}

/* Navbar */
.navbar {
    background: #fff;
    padding: 0;
}

.navbar-nav li a {
    margin-left: 40px;
}

.navbar-brand {
    color: var(--primary-color);
    font-size: 1.4rem;
}

.nav-link {
    color: var(--primary-color);
    font-size: 18px;
}

.nav-link:hover {
    color: var(--secondary-color);
}

/* Hero video */
.hero-video-wrap {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
}

.hero-video-wrap video,
.hero-video-wrap .bg-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
}

.hero-video-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 40, 78, 0.45), rgba(20, 40, 78, 0.55));
}

.hero-overlay {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #fff;
    text-align: center;
    padding: 2rem;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1;
    letter-spacing: 1px;
    text-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
}

.hero-sub {
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    color: rgba(255, 255, 255, 0.92);
    margin-top: .6rem;
}

.hero-cta .btn {
    min-width: 160px;
}

/* Sections */
section {
    padding: 4.5rem 0;
}

.bg-light-soft {
    background: #fbfbfd;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header .divider {
    width: 70px;
    height: 4px;
    background: var(--secondary-color);
    margin: 0.8rem auto 0;
    border-radius: 2px;
}

#divider-left {
    text-align: left;
    width: 170px;
    height: 4px;
    background: var(--secondary-color);
    margin: 0.8rem 0 0;
    border-radius: 2px;
}

/* Cards */
.card-why {
    border: none;
    border-radius: 1rem;
    box-shadow: var(--card-shadow);
    padding: 1.6rem;
    transition: transform .25s ease, box-shadow .25s ease;
}

.card-why:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(20, 40, 78, 0.12);
}

.card-why-offer {
    border: none;
    border-radius: 1rem;
    box-shadow: var(--card-shadow);
    padding: 1.6rem;
}

.feature-icon {
    width: 100px;
    height: 47px;
    padding: 6px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.6rem;
}

/* Testimonials */
.testi-card {
    border-radius: 1rem;
    padding: 1.6rem;
    box-shadow: 0 8px 30px rgba(20, 40, 78, 0.06);
    border-left: 6px solid var(--secondary-color);
    background: #fff;
}

/* Contact */
.contact-box {
    border-radius: 12px;
    padding: 1.6rem;
    box-shadow: var(--card-shadow);
}

/* Footer */
footer {
    background: linear-gradient(180deg, var(--primary-color), #0f213d);
    color: #fff;
}

footer a {
    color: #fff
}

footer .editable-note {
    color: var(--secondary-color);
    font-style: italic
}

/* Buttons */
.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-white {
    background: #ffffff;
    ;
    border-color: var(--primary-color);
}

.btn-white:hover {
    background: var(--primary-color);
    border-color: var(--secondary-color);
    color: #ffffff !important;
}

/* Other */
.text-primery {
    color: #14284e;
}

.text-second {
    color: #b9923d;
}

.text-third {
    color: #f6d26d;
}

.btn-outline-primary {
    --bs-btn-color: var(--primary-color);
    --bs-btn-bg: transparent;
    --bs-btn-border-color: var(--primary-color);
    /* ... other properties ... */
}

.btn-outline-primary:hover {
    --bs-btn-hover-color: var(--bs-white);
    --bs-btn-hover-bg: var(--primary-color);
    --bs-btn-hover-border-color: var(--primary-color);
    /* ... other properties ... */
}

.btn-outline-primary:active,
.btn-outline-primary.active {
    --bs-btn-active-color: var(--bs-white);
    --bs-btn-active-bg: var(--primary-color);
    --bs-btn-active-border-color: var(--primary-color);
    /* ... other properties ... */
}

#services .card-why {
    border-bottom: 2px solid #b9923d !important;
}

#why .card-why {
    border: 1px solid #b9923d !important;
}

.academy-q {
    color: #b9923d;
    font-size: 29px;
    white-space: nowrap;
    /* prevent word break */
}

.list-unstyled li {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    margin-bottom: .6rem;
}

.list-unstyled li i {
    flex-shrink: 0;
    margin-top: 4px;
}

.logo-img {
    width: 100px;
    height: auto;
    margin: 0;
    padding: 0;
}

.counter-box {
    background: #fff;
    border-radius: .5em;
    padding: 1.5rem;
}

.counter-icon {
    font-size: 3rem;
    color: var(--assent-colorG);
}

.counter-number {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 5px;
}

/* Breadcrumb */
.breadcrumb-hero {
    position: relative;
    overflow: hidden;
    /*border-radius: 12px;*/
}

.breadcrumb-hero img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    filter: brightness(55%);
    display: block;
}

/* Center the content horizontally and place it at the bottom */
.breadcrumb-hero .crumb-content {
    position: absolute;
    left: 50%;
    bottom: 1.25rem;
    transform: translateX(-50%);
    color: #fff;
    text-align: center;
    width: calc(100% - 2rem);
    /* keep some side padding on small screens */
    max-width: 900px;
    padding: 0 .75rem;
}

.breadcrumb-hero .crumb-content h2 {
    color: var(--accent);
    margin: 0 0 .25rem 0;
    font-size: clamp(1.25rem, 2.6vw, 2rem);
    line-height: 1.1;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}

.breadcrumb-hero .breadcrumb {
    justify-content: center;
    /* center breadcrumb items */
    gap: .5rem;
    margin-bottom: 0;
}

.breadcrumb-hero .breadcrumb a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
}

.breadcrumb-hero .breadcrumb .active {
    color: #fff;
    font-weight: 600;
}

.breadcrumb-item+.breadcrumb-item::before {
    float: left;
    padding-right: var(--bs-breadcrumb-item-padding-x);
    color: var(--accent);
    content: var(--bs-breadcrumb-divider, "/");
}

/* Course cards */

.course-card {
    border: 1px solid #b9923d;
    border-radius: 12px;
    padding: 1.5rem;
    background: #fff;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    transition: transform .3s ease, box-shadow .3s ease;
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(20, 40, 78, 0.12);
}

.course-icon {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.6rem;
    background: linear-gradient(135deg, rgba(246, 210, 109, 1), rgba(246, 210, 109, 1));
    /*background:linear-gradient(135deg, rgba(246,210,109,0.3), rgba(185,146,61,0.2));*/
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Horizontal tabs */

.offer-tabs-horizontal .nav-pills .nav-link {
    border: 1px solid #ddd;
    border-radius: 8px;
    color: var(--primary-color);
    font-weight: 500;
    background: #fff;
    transition: all .25s ease;
    white-space: nowrap;
}

.offer-tabs-horizontal .nav-pills .nav-link.active {
    background: linear-gradient(135deg, var(--secondary-color), #b9923dbf);
    color: #fff;
    border-color: var(--secondary-color);
}

/* Tabs content layout */
/* .card-why {
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    background: #fff;
} */

.offer-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    align-items: center;
}

.offer-figure img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 12px;
    /*box-shadow: var(--card-shadow);*/
}

/* Course Ddetails area */
.course-hero {
    margin-top: 1.5rem;
    margin-bottom: 1.8rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.course-hero .hero-left {
    flex: 1 1 560px;
}

.course-hero .hero-right {
    width: 280px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem .7rem;
    border-radius: 999px;
    background: #fff;
    box-shadow: var(--card-shadow);
    font-weight: 600;
    color: var(--primary-color);
}

/* Key facts */
.fact {
    background: #fff;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
}

.fact .fact-row {
    display: flex;
    gap: .8rem;
    align-items: center;
    margin-bottom: .6rem;
}

.fact .icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(185, 146, 61, 0.12), rgba(20, 40, 78, 0.03));
    color: var(--primary-color);
}

.syllabus-card .icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(185, 146, 61, 0.12), rgba(20, 40, 78, 0.03));
    border-radius: 10px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.syllabus-card:hover {
    transform: translateY(-4px);
    transition: all .3s ease;
    box-shadow: 0 10px 25px rgba(20, 40, 78, 0.1);
}

#syllabus .btn-primary i {
    font-size: 1.1rem;
    vertical-align: middle;
}

/* Faculty */
.faculty-card {
    border-radius: 10px;
    padding: 1rem;
    background: #fff;
    box-shadow: var(--card-shadow);
    display: flex;
    gap: 1rem;
    align-items: center;
}

.faculty-avatar {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    object-fit: cover;
}

/* Blog */
.blog-hero {
    position: relative;
    overflow: hidden;
    border-radius: 12px
}

.blog-hero img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    filter: brightness(60%)
}

.blog-hero .overlay {
    position: absolute;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%);
    color: #fff;
    text-align: center;
    width: calc(100% - 2rem);
}

.blog-hero h1 {
    font-size: clamp(1.6rem, 3.2vw, 2.6rem);
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.45)
}

/* Blog Posts list */
.post-card {
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: row;
    gap: 0;
    border: 1px solid #f1f5f9
}

.post-card .post-media {
    width: 100%;
    /* height: 180px; */
    max-width: 220px;
    object-fit: cover;
    /*object-fit: contain;*/
}

.post-card .post-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between
}

.post-meta {
    font-size: .85rem;
    color: var(--muted)
}

.post-excerpt {
    color: #444
}

/* Blog Sidebar */
.search-box input {
    border-radius: 999px;
    padding: .6rem 1rem
}

.tag-cloud a {
    display: inline-block;
    margin: .25rem .35rem;
    padding: .28rem .6rem;
    background: #fff;
    border-radius: 999px;
    border: 1px solid #eee;
    color: var(--primary);
    font-size: .85rem
}

/* Pagination */
.page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary)
}

/* Blog-details */
.content img {
    max-width: 100%;
    border-radius: 12px;
    margin: 1rem 0;
    box-shadow: var(--card-shadow)
}

.blog-meta {
    color: var(--muted);
    font-size: .9rem;
    margin-bottom: 1rem
}

.sidebar .card {
    border-radius: 12px;
    box-shadow: var(--card-shadow)
}

/* CTA*/
#cta h3 {
    color: var(--secondary-color) !important;
}

.cta {
    border-radius: 12px;
    padding: 2rem;
    background: linear-gradient(90deg, var(--primary-color), #0f213d);
    color: #fff;
    text-align: center;
}

.video-banner video {
    width: 100%;
    height: 39em;
    object-fit: cover;

}

/* Responsive tweaks */

/* Extra small devices */
@media (max-width: 480px) {
    .logo-img {
        width: 55px;
        /* even smaller for very small phones */
    }
}

@media (max-width:576px) {
    section {
        padding: 3rem 0
    }

    .counter-box {
        margin-bottom: 1em;
    }
}

@media (max-width:767px) {
    .video-banner video {
        width: 100%;
        height: auto;
    }

    .breadcrumb-hero img {
        height: 180px;
    }

    .breadcrumb-hero .crumb-content h2 {
        font-size: 1.1rem;
    }

    .offer-tabs-horizontal .justify-content-center {
        justify-content: normal !important;
    }

    .offer-tabs-horizontal .nav-pills {
        overflow: auto;
        -webkit-overflow-scrolling: touch;
        gap: .6rem;
        padding-bottom: .5rem;
    }

    .offer-row {
        grid-template-columns: 1fr;
    }

    .offer-figure img {
        height: 220px;
    }

    .offer-tabs-horizontal .nav-pills::-webkit-scrollbar {
        height: 6px;
    }

    .offer-tabs-horizontal .nav-pills::-webkit-scrollbar-thumb {
        background: var(--secondary-color);
        border-radius: 3px;
    }
}

/* Adjust logo and spacing for smaller screens */
@media (max-width: 768px) {
    .logo-img {
        width: 65px;
        /* smaller logo for mobile */
    }

    .navbar {
        padding: 0rem 1rem;
    }

    .navbar-toggler {
        border: none;
    }

    .nav-link {
        padding: 0.6rem 0;
    }

    .btn {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width:991px) {
    .course-hero {
        flex-direction: column;
        align-items: stretch;
    }

    .course-hero .hero-right {
        width: 100%;
        order: 2;
    }

    .course-hero .hero-left {
        order: 1;
    }

    .post-card {
        flex-direction: column
    }

    .post-card .post-media {
        width: 100%;
        height: 220px
    }
}

@media (max-width:992px) {
    .hero-video-wrap {
        height: 60vh
    }

    .course-hero {
        flex-direction: column;
        align-items: stretch;
    }

    .course-hero .hero-right {
        width: 100%;
        order: 2;
    }

    .course-hero .hero-left {
        order: 1;
    }
}

.form-check-label a {
    color: #14284e;
    text-decoration: none;
}

.form-check-input {
    margin-top: 0.35rem;
}