/*==================================================
CARMEL SCHOOL MADHUPUR
Bootstrap 5.3.x

Author : Lofty Technologies
Version: 1.0
==================================================*/

@import url('https://fonts.googleapis.com/css2?family=Anybody:ital,wght@0,100..900;1,100..900&display=swap');
/*==================================================
CSS VARIABLES
==================================================*/

:root {

    --primary: #76232f;
    --secondary: #FFCD00;

    --white: #ffffff;
    --black: #222222;

    --text: #424242;
    --heading: #4e4e4e;

    --border: #f2f2f2;
    --light: #f8f8f8;

    --shadow: 0 8px 25px rgba(0, 0, 0, .08);

    --transition: .35s ease;

    --radius: 6px;

    --header-height: 165px;

}


/*==================================================
RESET
==================================================*/

*,
*::before,
*::after {

    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

html {

    scroll-behavior: smooth;

}

body {

    font-family: "Anybody", sans-serif;
    font-size: 14px;
    color: var(--text);
    background: #fff;
    overflow-x: hidden;
    line-height: 1.6;

}

img {

    max-width: 100%;
    display: block;

}

a {

    color: inherit;
    text-decoration: none;
    transition: var(--transition);

}

ul {

    margin: 0;
    padding: 0;
    list-style: none;

}

h1,
h2,
h3,
h4,
h5,
h6 {

    color: var(--heading);
    margin: 0;

}

.container-fluid {

    max-width: 1600px;

}


/*==================================================
HEADER
==================================================*/

.cs-header {

    background: #fff;
    position: relative;
    z-index: 999;
    border-bottom: 1px solid var(--border);

}


/*==================================================
LOGO
==================================================*/

.logo-area {

    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;

}

.logo-area img {

    width: 82px;
    height: auto;
    flex-shrink: 0;

}

.logo-text {

    display: flex;
    flex-direction: column;

}

.logo-text h1 {

    font-size: 22px;
    font-weight: 700;
    line-height: 1.08;
    color: var(--primary);
    text-transform: uppercase;

}

.logo-text span {

    font-size: 12px;
    color: #777;
    font-style: italic;
    margin-top: 4px;

}


/*==================================================
RIGHT SIDE
==================================================*/

.topbar {

    min-height: 40px;
    border-bottom: 1px solid var(--border);

}


/*==================================================
NOTICE BAR
==================================================*/

.notice-wrapper {

    display: flex;
    align-items: center;
    flex: 1;
    overflow: hidden;

}

.notice-label {

    background: var(--primary);
    color: #fff;

    padding: 8px 16px;

    font-size: 12px;
    font-weight: 700;

    display: flex;
    align-items: center;
    gap: 8px;

    white-space: nowrap;

}

.notice-label i {

    color: #ffd84d;
    font-size: 11px;

}


/*==================================================
TICKER
==================================================*/

.notice-ticker {

    flex: 1;
    overflow: hidden;
    height: 40px;
    display: flex;
    align-items: center;
    position: relative;

}

.notice-track {

    white-space: nowrap;
    display: inline-block;
    animation: ticker 22s linear infinite;
    padding-left: 100%;
    color: var(--text);
    font-size: 13px;
    font-weight: 500;

}

.notice-ticker:hover .notice-track {

    animation-play-state: paused;

}


@keyframes ticker {

    from {

        transform: translateX(0);

    }

    to {

        transform: translateX(-100%);

    }

}


/*==================================================
TOP LINKS
==================================================*/

.top-links {

    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;

}

.top-links li {

    position: relative;

}

.top-links li:not(:last-child)::after {

    content: "";

    width: 1px;
    height: 14px;

    background: #d7d7d7;

    position: absolute;

    right: 0;
    top: 50%;

    transform: translateY(-50%);

}

.top-links a {

    display: block;

    padding: 10px 16px;

    font-size: 13px;
    font-weight: 500;

    color: #444;

    text-transform: uppercase;

}

.top-links a:hover {

    color: var(--primary);

}


/*==================================================
SMOOTH HOVER
==================================================*/

a:hover {

    text-decoration: none;

}

button {

    transition: var(--transition);

}

/*==================================================
CONTACT ROW
==================================================*/

.contact-row {

    margin: 0;
    background: var(--white);

}

.contact-item {

    position: relative;

}

/* Right Separator */

.contact-item::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0px;
    bottom: 18px;
    width: 1px;
    height: 100%;
    background: var(--border);

}

.contact-item.last::after {
    display: none;
}


/*==================================================
CONTACT BOX
==================================================*/

.contact-box {
    display: flex;
    align-items: center;
    gap: 0px;
    padding: 4px 4px;
    min-height: 100px;
    transition: var(--transition);
    padding-left: 22px;
}



/*==================================================
ICON
==================================================*/

.contact-icon {

    width: 48px;
    height: 48px;

    background-color: #F5F5F5;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--primary);

    font-size: 18px;

    flex-shrink: 0;

    position: relative;

}

/* Left Vertical Line */

/* .contact-icon::after{

    content:"";

    position:absolute;

    right:-18px;

    top:-10px;
    bottom:-10px;

    width:1px;

    background:var(--border);

} */


/*==================================================
CONTENT
==================================================*/

.contact-content {

    flex: 1;

    display: flex;
    flex-direction: column;

}

.contact-content h6 {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--heading);
    padding-left: 10px;
}

/* Horizontal Divider */

.contact-content span {

    width: 100%;
    height: 2px;

    background: #F5F5F5;

    margin: 6px 0 6px;

}

.contact-content a {

    color: #444;
    padding-left: 10px;
    font-size: 13px;
    font-weight: 500;
    word-break: break-word;
    color: var(--primary);

}

.contact-content a:hover {

    color: var(--primary);

}


/*==================================================
MAIN NAVBAR
==================================================*/

.main-navbar {

    background: var(--primary);

    padding: 0;

    min-height: 60px;

    box-shadow: 0 4px 15px rgba(0, 0, 0, .08);

    z-index: 999;

}

.main-navbar .container-fluid {

    position: relative;

}


/*==================================================
NAV ITEMS
==================================================*/

.navbar-nav {

    gap: 2px;

}

.navbar-nav .nav-item {

    position: relative;

}

.navbar-nav .nav-link {

    color: #fff;

    font-size: 14px;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: .5px;

    padding: 20px 22px;

    position: relative;

    transition: var(--transition);

}

/* Hover Background */

.navbar-nav .nav-link:hover {

    background: rgba(255, 255, 255, .08);

}


/*==================================================
UNDERLINE ANIMATION
==================================================*/

.navbar-nav .nav-link::before {

    content: "";

    position: absolute;

    left: 50%;
    bottom: 0;

    transform: translateX(-50%);

    width: 0;

    height: 3px;

    background: var(--secondary);

    transition: .35s;

}

.navbar-nav .nav-link:hover::before,

.navbar-nav .nav-link.active::before {

    width: 80%;

}


/*==================================================
ACTIVE MENU
==================================================*/

.navbar-nav .nav-link.active {

    background: rgba(255, 255, 255, .10);

}


/*==================================================
DROPDOWN
==================================================*/

.dropdown-menu {

    border: none;

    border-radius: 0;

    padding: 8px 0;

    margin-top: 0;

    box-shadow: var(--shadow);

    min-width: 250px;

    animation: dropdown .25s ease;

}

@keyframes dropdown {

    from {

        opacity: 0;
        transform: translateY(12px);

    }

    to {

        opacity: 1;
        transform: translateY(0);

    }

}


/*==================================================
DROPDOWN ITEMS
==================================================*/

.dropdown-item {

    padding: 11px 22px;

    font-size: 14px;

    color: #555;

    transition: var(--transition);

}

.dropdown-item:hover {

    background: #f8f8f8;

    color: var(--primary);

    padding-left: 30px;

}


/*==================================================
NAV TOGGLER
==================================================*/

.navbar-toggler {

    border: none;

    color: #fff;

    font-size: 24px;

    padding: 12px;

    box-shadow: none;

}

.navbar-toggler:focus {

    box-shadow: none;

}

/*==================================================
OFFCANVAS
==================================================*/

.offcanvas {

    width: 320px;
    border: 0;
    background: #ffffff;

}

.offcanvas-header {

    background: var(--primary);
    color: #fff;
    padding: 18px 20px;

}

.offcanvas-header h5 {

    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin: 0;

}

.offcanvas .btn-close {

    filter: invert(1);
    opacity: 1;

}

.offcanvas-body {

    padding: 0;

}

.offcanvas .navbar-nav {

    display: block;

}

.offcanvas .nav-item {

    border-bottom: 1px solid var(--border);

}

.offcanvas .nav-link {

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 16px 22px;

    color: var(--heading);

    font-size: 15px;
    font-weight: 500;

    text-transform: none;

    background: #fff;

}

.offcanvas .nav-link:hover {

    background: #f7f7f7;
    color: var(--primary);

}

.offcanvas hr {

    margin: 15px 0;

}


/*==================================================
STICKY NAVBAR
==================================================*/

.main-navbar {

    transition:
        background .35s ease,
        box-shadow .35s ease,
        transform .35s ease;

}

.main-navbar.sticky {

    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    width: 100%;

    z-index: 1050;

    animation: navbarSlide .35s ease;

    box-shadow:
        0 10px 25px rgba(0, 0, 0, .12);

}

@keyframes navbarSlide {

    from {

        opacity: 0;
        transform: translateY(-100%);

    }

    to {

        opacity: 1;
        transform: translateY(0);

    }

}


/*==================================================
NEWS TICKER
==================================================*/

.notice-wrapper {

    min-width: 0;

}

.notice-ticker {

    position: relative;

}

.notice-track {

    will-change: transform;
    user-select: none;

}

.notice-track:hover {

    cursor: pointer;

}


/*==================================================
GENERAL TRANSITIONS
==================================================*/

img,
button,
.nav-link,
.dropdown-item,
.contact-icon,
.top-links a {

    transition: var(--transition);

}


/*==================================================
ICON ANIMATION
==================================================*/

.contact-box:hover .contact-icon {

    background: var(--primary);
    color: #fff;

    transform: rotate(8deg);

}


/*==================================================
LOGO EFFECT
==================================================*/

.logo-area img {

    transition: .4s;

}

.logo-area:hover img {

    transform: scale(1.05);

}

.logo-area:hover h1 {

    color: var(--secondary);

}


/*==================================================
DROPDOWN HOVER SHADOW
==================================================*/

.dropdown-menu {

    overflow: hidden;

}

.dropdown-item {

    position: relative;

}

.dropdown-item::before {

    content: "";

    position: absolute;

    left: 0;
    top: 0;
    bottom: 0;

    width: 3px;

    background: var(--primary);

    transform: scaleY(0);

    transition: .25s;

}

.dropdown-item:hover::before {

    transform: scaleY(1);

}


/*==================================================
SELECTION
==================================================*/

::selection {

    background: var(--primary);
    color: #fff;

}

::-moz-selection {

    background: var(--primary);
    color: #fff;

}


/*==================================================
SCROLLBAR
==================================================*/

::-webkit-scrollbar {

    width: 10px;

}

::-webkit-scrollbar-track {

    background: #f1f1f1;

}

::-webkit-scrollbar-thumb {

    background: var(--primary);

}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}


/*==================================================
FOCUS
==================================================*/

a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {

    outline: none;
    box-shadow: none;

}


/*==================================================
HELPER CLASSES
==================================================*/

.shadow-sm {

    box-shadow: var(--shadow) !important;

}

.rounded-6 {

    border-radius: var(--radius);

}

.bg-primary {

    background: var(--primary) !important;

}

.text-primary {

    color: var(--primary) !important;

}

.border-color {

    border-color: var(--border) !important;

}


/*==================================================
UTILITY SPACING
==================================================*/

.py-section {

    padding: 90px 0;

}

.pt-section {

    padding-top: 90px;

}

.pb-section {

    padding-bottom: 90px;

}


.contact-box:hover {
    transform: translateY(-3px);
    box-shadow:
        0 10px 25px rgba(0, 0, 0, .05);

}

.navbar-nav .nav-link:hover {
    color: var(--primary);
}

.top-links a:hover {
    transform: translateY(-1px);
}

@media print {

    .main-navbar,
    .offcanvas,
    .navbar-toggler {
        display: none !important;
    }
}

/*==================================================
1400px
==================================================*/

@media (max-width:1399.98px) {

    .logo-text h1 {
        font-size: 20px;
    }

    .top-links a {
        padding: 10px 12px;
        font-size: 12px;
    }

    .contact-box {
        padding-left: 22px;
    }

    .navbar-nav .nav-link {
        padding: 18px 18px;
    }

}


/*==================================================
1200px
==================================================*/

@media (max-width:1199.98px) {

    .logo-area img {
        width: 72px;
    }

    .logo-text h1 {
        font-size: 19px;
    }

    .notice-label {
        padding: 8px 12px;
    }

    .notice-track {
        font-size: 13px;
    }

    .contact-box {
        gap: 18px;
        padding: 20px;
    }

    .contact-icon {
        width: 52px;
        height: 52px;
        font-size: 18px;
    }

    .contact-content a {
        font-size: 14px;
    }

    .navbar-nav .nav-link {
        padding: 18px 15px;
        font-size: 13px;
    }

}


/*==================================================
992px
==================================================*/

@media (max-width:991.98px) {

    .topbar {

        flex-direction: column;
        align-items: stretch;

    }

    .notice-wrapper {

        width: 100%;
        border-bottom: 1px solid var(--border);

    }

    .top-links {

        justify-content: center;
        padding: 6px 0;

    }

    .contact-row {

        margin-top: 10px;

    }

    .contact-item {

        border-bottom: 1px solid var(--border);

    }

    .contact-item::after {

        display: none;

    }

    .contact-item:last-child {

        border-bottom: 0;

    }

    .contact-box {

        min-height: auto;
        padding: 20px 10px;

    }

    .contact-icon::after {

        right: -14px;

    }

    .main-navbar {

        min-height: 60px;

    }

    .navbar-toggler {

        color: #fff;

    }

    .navbar-collapse {

        display: none !important;

    }

}


/*==================================================
768px
==================================================*/

@media (max-width:767.98px) {

    .logo-area {

        justify-content: center;
        text-align: center;
        flex-direction: column;

    }

    .logo-text {

        align-items: center;

    }

    .topbar {

        margin-top: 10px;

    }

    .notice-label {

        font-size: 11px;

    }

    .notice-track {

        font-size: 12px;

    }

    .top-links {

        display: none;

    }

    .contact-item {

        width: 100%;

    }

    .contact-box {

        padding: 18px;

    }

    .contact-icon {

        width: 50px;
        height: 50px;

    }

    .contact-content h6 {

        font-size: 12px;

    }

    .contact-content span {

        width: 65px;

    }

    .main-navbar {

        padding: 6px 0;

    }

    .offcanvas {

        width: 300px;

    }

}


/*==================================================
576px
==================================================*/

@media (max-width:575.98px) {

    .container-fluid {

        padding-left: 15px !important;
        padding-right: 15px !important;

    }

    .logo-area img {

        width: 65px;

    }

    .logo-text h1 {

        font-size: 18px;

    }

    .logo-text span {

        font-size: 11px;

    }

    .notice-label {

        padding: 8px 10px;

    }

    .notice-track {

        font-size: 11px;

    }

    .contact-box {

        gap: 16px;

        padding: 16px;

    }

    .contact-icon {

        width: 46px;
        height: 46px;

        font-size: 16px;

    }

    .contact-icon::after {

        right: -10px;

    }

    .contact-content a {

        font-size: 13px;

    }

    .offcanvas {

        width: 280px;

    }

}


/*==================================================
425px
==================================================*/

@media (max-width:425px) {

    .logo-text h1 {

        font-size: 17px;

    }

    .notice-label {

        font-size: 10px;

    }

    .notice-track {

        font-size: 10px;

    }

    .contact-box {

        gap: 14px;

    }

    .contact-icon {

        width: 42px;
        height: 42px;

        font-size: 15px;

    }

    .contact-content h6 {

        font-size: 11px;

    }

    .contact-content a {

        font-size: 12px;

        word-break: break-word;

    }

}


/*==================================================
375px
==================================================*/

@media (max-width:375px) {

    .logo-area {

        gap: 12px;

    }

    .logo-text h1 {

        font-size: 16px;

    }

    .notice-label {

        padding: 6px 8px;

    }

    .contact-box {

        padding: 15px 10px;

    }

    .contact-content span {

        width: 55px;

    }

    .offcanvas {

        width: 260px;

    }

}


/*==================================================
320px
==================================================*/

@media (max-width:320px) {

    .logo-area img {

        width: 55px;

    }

    .logo-text h1 {

        font-size: 15px;

    }

    .logo-text span {

        font-size: 10px;

    }

    .notice-track {

        font-size: 9px;

    }

    .contact-box {

        flex-direction: column;
        text-align: center;

        gap: 10px;

    }

    .contact-icon::after {

        display: none;

    }

    .contact-content {

        align-items: center;

    }

    .contact-content span {

        margin: 8px auto;

    }

    .offcanvas {

        width: 100%;

    }

}

@media (min-width:992px) {
    .navbar .dropdown {
        position: relative;
    }
    .navbar .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(15px);
        transition: all .3s ease;
        margin-top: 0;
        border-top: 3px solid var(--secondary);
        pointer-events: none;
    }

    .navbar .dropdown:hover>.dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .navbar .dropdown-toggle::after {
        transition: .3s;
    }

    .navbar .dropdown:hover .dropdown-toggle::after {
        transform: rotate(180deg);
    }

}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: #F5F5F5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
    position: relative;
    transition: var(--transition);
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    transition: var(--transition);
}

.contact-box:hover .contact-icon {
    background: var(--primary);
    color: #fff;
}

.contact-box:hover .contact-icon svg {
    transform: scale(1.1);
}

.hero-slider {
    position: relative;
}
.heroSwiper {
    width: 100%;
    height: 420px;

}

.heroSwiper .swiper-slide {
    position: relative;
    overflow: hidden;
}

.heroSwiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
}

.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 5;
}

.hero-info {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-box {
    display: flow;
    align-items: center;
    gap: 20px;

}

.hero-box h2 {

    font-size: 68px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.hero-box h3 {
    font-size: 24px;
    color: #fff;
    font-weight: 700;
    line-height: 1.1;
}

.hero-box p {
    color: #fff;
    font-size: 14px;
}

.hero-divider {
    width: 2px;
    height: 80px;
    background: rgba(255, 255, 255, .6);

}

.hero-content h4 {
    margin-top: 6px;
    color: #fff;
    font-size: 25px;
    font-weight: 700;
}

/* Navigation */

.heroSwiper .swiper-button-next,
.heroSwiper .swiper-button-prev {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    backdrop-filter: blur(10px);
}

.heroSwiper .swiper-button-next::after,
.heroSwiper .swiper-button-prev::after {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

/* Pagination */

.heroSwiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #fff;
    opacity: .5;
}

.heroSwiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: #fff;
}

@media(max-width:992px) {

    .heroSwiper {
        height: 550px;
    }

    .hero-info {
        flex-direction: column;
        gap: 25px;
    }

    .hero-divider {
        display: none;
    }

    .hero-box h2 {
        font-size: 48px;
    }

    .hero-box h3 {
        font-size: 24px;
    }
    .sec-title-style7 h2 {
        margin-bottom: 24px;
    }

    .youtube {
        font-size: 28px;
        padding: 10px 0 14px 0;
    }

    .hero-content h4 {
        font-size: 22px;

    }

}

@media(max-width:576px) {

    .heroSwiper {

        height: 420px;

    }

    .hero-box {

        flex-direction: column;

        text-align: center;

    }

    .hero-box h2 {

        font-size: 38px;

    }

    .hero-box h3 {

        font-size: 20px;

    }

    .hero-box p {

        font-size: 16px;

    }

    .hero-content h4 {

        font-size: 18px;

    }

}

.text-yellow {
    color: var(--secondary);
}

.csm_text-white {
    color: var(--white) !important;
}

/* =========================================
   CARMEL SCHOOL TESTIMONIAL SECTION
========================================= */

.csm_testimonial-box {
    position: relative;
    overflow: hidden;
}


/* Owl Equal Height */

.csm_client-carousel .owl-stage {
    display: flex;
}

.csm_client-carousel .owl-item {
    display: flex;
}

.csm_client-carousel .owl-item>.csm_single-item {
    width: 100%;
}


/* Main Card */

.csm_single-item {
    display: flex;
    width: 100%;
    height: 550px;
    min-height: 450px;
    background: var(--white);
    overflow: hidden;
}



/* =========================================
   LEFT IMAGE AREA
========================================= */

.csm_image-area {
    width: 38%;
    height: 538px;
    position: relative;
    overflow: hidden;
}


.csm_image-area img {

    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}


/* Image Overlay */

.csm_image-area::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top,
            rgba(0, 0, 0, 0.822),
            rgba(0, 0, 0, 0));

}



/* Name Area */

.csm_designation {
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 2;
    color: #fff;

}


.csm_designation h4 {
    color: var(--school-border-color);
    margin: 0 0 2px;
    font-size: 16px;
    font-weight: 500;

}


.csm_designation h2 {
    font-family: "Corinthia", cursive;
    margin: 0;
    font-size: 42px;
    line-height: normal;
    color: #fff;

}



/* =========================================
   CONTENT AREA
========================================= */

.csm_content-area {
    width: 62%;
    height: 550px;
    padding: 45px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;

}



.csm_quote {

    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 70px;
    color: var(--primary);
    opacity: .12;

}



.csm_content-area h3 {
    color: var(--black);
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 20px;

}



.csm_content-area p {
    margin: 0;
    color: var(--text);
    font-size: 14px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
    overflow: hidden;

}



/* Read More Button */

.csm_readmore {
    margin-top: 25px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;

}



.csm_readmore:hover {
    color: var(--black);
}



/* =========================================
   TABLET
========================================= */

@media(max-width:991px) {


    .csm_single-item {

        display: block;
        height: auto;
        min-height: 0;

    }



    .csm_image-area {
        width: 100%;
        height: 330px;
    }



    .csm_content-area {
        width: 100%;
        height: auto;
        padding: 35px;
    }



    .csm_content-area p {

        -webkit-line-clamp: unset;

    }


}



/* =========================================
   MOBILE
========================================= */

@media(max-width:576px) {


    .csm_image-area {

        height: 260px;

    }



    .csm_content-area {

        padding: 25px;

    }



    .csm_content-area h3 {

        font-size: 24px;

    }



    .csm_designation {

        left: 20px;
        bottom: 20px;

    }

    .csm_designation h2 {

        font-size: 20px;

    }

    .csm_quote {
        font-size: 50px;
        right: 20px;
    }

}

.csm_client-carousel .owl-nav {
    position: absolute;
    right: 30px;
    bottom: 25px;
    display: flex;
    gap: 10px;
}


.csm_client-carousel .owl-nav button.owl-prev,
.csm_client-carousel .owl-nav button.owl-next {
    width: 45px;
    height: 45px;
    background: var(--primary) !important;
    color: #fff !important;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px !important;
    transition: all .3s ease;
}



.csm_client-carousel .owl-nav button:hover {
    background: var(--secondary) !important;
}

.csm_client-carousel .owl-nav i {
    line-height: 1;
}



/* Mobile */

@media(max-width:576px) {

    .csm_client-carousel .owl-nav {

        position: relative;
        right: auto;
        bottom: auto;
        justify-content: center;
        margin-top: 20px;

    }

}

.notice-date {
    font-size: 24px;
    color: var(--rt-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.notice-date img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    max-width: 100%;
}


/* Tablet */
@media (max-width:991px) {

    .notice-date img {
        width: 40px;
        height: 40px;
    }

}

/* Mobile */
@media (max-width:576px) {

    .notice-date img {
        width: 32px;
        height: 32px;
    }

}

/*=========================================
      CSM INFRASTRUCTURE
=========================================*/

.csm_infrastructure {
    position: relative;
    overflow: hidden;
}

/*-------------------------
LEFT & RIGHT ITEMS
-------------------------*/

.csm_infrastructure_item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.csm_left {
    padding-right: 50px;
}

.csm_right {
    padding-left: 50px;
}


/*-------------------------
IMAGE
-------------------------*/

.csm_infrastructure_image {
    flex: 0 0 90px;
}

.csm_infrastructure_image img {
    width: 90px;
    height: 90px;
    object-fit: cover;
}


/*-------------------------
CONTENT
-------------------------*/

.csm_infrastructure_content {
    flex: 1;
}

.csm_infrastructure_content h4 {
    margin-bottom: 8px;
    color: var(--primary);
    font-size: 16px;
    font-weight: 700;
}



/*-------------------------
CENTER IMAGE
-------------------------*/

.csm_infrastructure_center {
    position: relative;
    text-align: center;
}

.csm_infrastructure_center img {
    width: 100%;
    height: auto;
    object-fit: cover;
}


/*-------------------------
CENTER LABELS
-------------------------*/

.csm_center_levels {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.csm_center_levels span {
    padding: 10px 20px;
    background: var(--primary);
    color: #fff;
    font-size: 14px;
}


/*=========================================
      CONNECTING LINES
=========================================*/

/* Left */

.csm_left .csm_line {
    position: absolute;
    top: 45px;
    right: 0;
    width: 34px;
    height: 1px;
    background: var(--border);
}

/* Right */

.csm_right .csm_line {
    position: absolute;
    top: 45px;
    left: 0;
    width: 34px;
    height: 1px;
    background: var(--border);
}

.topbtm_line_left {
    border-left: solid 1px var(--border)
}

.topbtm_line_right {
    border-right: solid 1px var(--border)
}

/*=========================================
      RESPONSIVE
=========================================*/

@media (max-width:1199px) {

    .csm_infrastructure_image img {
        width: 80px;
        height: 80px;
    }

    .csm_left {
        padding-right: 50px;
    }

    .csm_right {
        padding-left: 50px;
    }

    .csm_left .csm_line,
    .csm_right .csm_line {
        width: 40px;
    }

}


@media (max-width:991px) {

    .csm_infrastructure_center {
        display: none;
    }

    .csm_infrastructure_center img {
        height: 420px;
    }

    /* Hide connecting lines */

    .csm_line {
        display: none;
    }

    .csm_left,
    .csm_right {
        padding: 0;
    }

}


@media (max-width:767px) {

    .csm_infrastructure_item {
        gap: 15px;
        margin-bottom: 30px;
    }

    .csm_infrastructure_image {
        flex: 0 0 70px;
    }

    .csm_infrastructure_image img {
        width: 100%;
        height: auto;
    }

    .csm_infrastructure_content h4 {
        font-size: 18px;
    }

    .csm_infrastructure_content p {
        font-size: 14px;
    }

    .csm_infrastructure_center img {
        height: 320px;
    }

}


@media (max-width:575px) {

    .csm_infrastructure_item {
        flex-direction: column;
        text-align: center;
    }

    .csm_infrastructure_image {
        flex: none;
    }

    .csm_infrastructure_center img {
        height: 260px;
    }

    .csm_center_levels span {
        width: 100%;
    }

}


.breadcrumb-wrapper {
    border-bottom: 1px solid #e2e2e2;
}

.breadcrumb-custom {
    margin-bottom: 0;
    background: transparent;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.breadcrumb-custom .breadcrumb-item a {
    color: #868c92;
    text-decoration: none;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.breadcrumb-custom .breadcrumb-item a:hover {
    color: var(--primary-color);
}

.breadcrumb-custom .breadcrumb-item.active {
    color: var(--body-color);
}

.breadcrumb-custom .breadcrumb-item+.breadcrumb-item::before {
    content: "›";
    color: #adb5bd;
}

.breadcrumb-icon {
    font-size: 12px;
}


.csm_in_facilities_section {
    padding: 100px 0;
    background: #f7f9fc;
}

.csm_in_facilities_card {
    display: flex;
    align-items: center;
    gap: 28px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, .08);
    transition: .4s ease;
    height: 100%;

}

.facilities_margin {
    margin-top: 24px;
}

.csm_in_facilities_card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, .15);
}

.csm_in_facilities_image {
    position: relative;
    width: 240px;
    min-width: 240px;
    height: 220px;
    overflow: hidden;
}

.csm_in_facilities_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .6s;
}

.csm_in_facilities_card:hover .csm_in_facilities_image img {
    transform: scale(1.08);
}

.csm_in_facilities_icon {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
}

.csm_in_facilities_icon img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.csm_in_facilities_content {
    padding: 35px 35px 35px 0;
}

.csm_in_facilities_content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}


@media(max-width:991px) {

    .csm_in_facilities_card {
        flex-direction: column;
        align-items: flex-start;
    }

    .csm_in_facilities_image {
        width: 100%;
        min-width: 100%;
        height: 250px;
    }

    .csm_in_facilities_content {
        padding: 30px;
    }

}

@media(max-width:576px) {

    .csm_in_facilities_section {
        padding: 70px 0;
    }

    .csm_in_facilities_image {
        height: 220px;
    }

    .csm_in_facilities_icon {
        width: 60px;
        height: 60px;
    }

    .csm_in_facilities_icon img {
        width: 34px;
        height: 34px;
    }

    .csm_in_facilities_content h3 {
        font-size: 22px;
    }

    .csm_in_facilities_content p {
        font-size: 15px;
    }

}

.csm_teaching_card {
    position: relative;
    background: #fff;
    overflow: hidden;
    transition: .45s;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .08);
    height: 100%;
}

.csm_teaching_card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .16);
}

.csm_teaching_image {
    overflow: hidden;
    height: 220px;
}

.csm_teaching_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .6s;
}

.csm_teaching_card:hover .csm_teaching_image img {
    transform: scale(1.08);
}

.csm_teaching_content {
    position: relative;
    text-align: center;
    padding: 24px 25px 24px;
}

.csm_teaching_name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--primary);
}

.csm_teaching_card:hover .csm_teaching_name {
    color: var(--secondary);
}

@media (max-width:1200px) {

    .csm_teaching_image {
        height: 220px;
    }

}

@media (max-width:992px) {

    .csm_teaching_section {
        padding: 80px 0;
    }

    .csm_teaching_image {
        height: 300px;
    }

}

@media (max-width:768px) {

    .csm_teaching_image {
        height: 340px;
    }

    .csm_teaching_name {
        font-size: 22px;
    }

}

@media (max-width:576px) {

    .csm_teaching_section {
        padding: 70px 0;
    }

    .csm_teaching_image {
        height: 300px;
    }

    .csm_teaching_subject {
        font-size: 13px;
        padding: 10px 20px;
    }

    .csm_teaching_name {
        font-size: 20px;
    }

    .csm_teaching_designation {
        font-size: 15px;
    }

}

.modal-header {
    border-bottom: none !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

.modal-footer {
    border-top: none !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

.modal-content {
    border-radius: 0 !important;
}