:root {
    --casulo-blue: #4a90d9;
    --casulo-blue-dark: #2e6eb3;
    --casulo-blue-darker: #1e3a5f;
    --casulo-blue-light: #6eb3f7;
    --casulo-blue-pale: #eef6ff;
    --bs-primary: #4a90d9;
    --bs-secondary: #2e6eb3;
    --bs-light: #eef6ff;
    --bs-dark: #1e3a5f;
}

body {
    background-color: #f0f7ff !important;
}

.bg-light {
    background-color: #eef6ffd6 !important;
}
/*** Spinner Start ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .8s ease-out, visibility 0s linear .0s;
    visibility: visible;
    opacity: 1;
}
/*** Spinner End ***/


/*** Common CSS Start ***/
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}

h1,
h2,
h3,
.h1,
.h2,
.h3 {
    font-weight: 200;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

h4,
h5,
h6,
.h4,
.h5,
.h6 {
    font-weight: 600;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    font-weight: 700;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.display-4,
.display-5,
.display-6 {
    font-weight: 300;
}

.wow,
.animated {
    animation-duration: 2s !important;
}
/*** Common CSS End ***/


/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary,
.btn-primary {
    border: 0 !important;
    color: var(--bs-white) !important;
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
}

.btn.btn-primary:hover,
.btn.btn-primary:focus,
.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--casulo-blue-dark) !important;
    border-color: var(--casulo-blue-dark) !important;
    color: #ffffff !important;
}

.btn-outline-primary {
    color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    color: #fff !important;
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
}

.btn-border-radius {
    border-radius: 25% 10%;
}

.img-border-radius {
    border-radius: 50% 20% / 10% 40%;
}

.title-border-radius {
    border-radius: 10% 30%;
}
/*** Button End ***/


/*** Topbar Start ***/
.topbar .top-info {
    font-size: medium;
    font-weight: 400;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.topbar .top-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.topbar .top-link a {
    margin-right: 10px;
}

.topbar .top-link a:hover {
    background-color: #1c1a1acf !important; /* circle background on hover */
}

.topbar .top-link a:hover i {
    color: #ffffff !important; /* icon color on hover */
}
/*** Topbar End ***/

.top-info a:hover {
    color: #1c1a1acf !important;
    transition: 0.3s;
}
/*** Navbar Start ***/
.navbar {
    border-bottom: 1px solid rgba(223, 229, 224, 0.1);
    overflow: visible !important;
}

.navbar-nav {
    overflow: visible !important;
}

.navbar-contact-block {
    margin-left: 2.5rem;
    padding-left: 0.5rem;
}

.navbar .navbar-nav .navbar-contact-link {
    margin-right: 0.5rem;
}

.navbar .navbar-nav .nav-link {
    padding: 10px 8px;
    font-size: 15px;
    font-weight: 600;
    transition: .5s;
    color: #10102ed6 !important;
    position: relative;
}

.navbar .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #2e6eb3;
    transition: width 0.3s ease;
}

.navbar .navbar-nav .nav-link:hover::after {
    width: 100%;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.fixed-top.bg-white .navbar .navbar-nav .nav-link:hover,
.fixed-top.bg-white .navbar .navbar-nav .nav-link.active {
    color: #2e6eb3 !important;
} 

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 700;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        font-weight: 400;
        font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        transition: .5s;
        opacity: 0;
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-secondary);
    color: var(--bs-dark);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    border-radius: 10px !important;
    transition: .5s;
    opacity: 1;
}

#searchModal .modal-content {
    background: rgba(255, 255, 255, .8);
}
/*** Navbar End ***/
.hero-header::after {
    content: '';
    position: absolute;
    top: auto;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100'%3E%3Cpath fill='%23e8f2fc' fill-opacity='1' d='M0,64L80,58.7C160,53,320,43,480,48C640,53,800,75,960,80C1120,85,1280,75,1360,69.3L1440,64L1440,0L1360,0C1280,0,1120,0,960,0C800,0,640,0,480,0C320,0,160,0,80,0L0,0Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    height: 100px;
    transform: rotate(180deg);
    z-index: 3;
    pointer-events: none;
}

.hero-header {
    position: relative;
    overflow: hidden;
    background: #1e3a5f;
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: 0;
    z-index: 0;
    transition: opacity 1.2s ease-in-out;
}

.hero-slide.is-active,
.hero-slide:only-child {
    opacity: 1;
    z-index: 1;
}

.hero-header-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(30, 58, 95, 0.78) 0%, rgba(30, 58, 95, 0.35) 52%, rgba(0, 0, 0, 0.12) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.08) 100%);
    pointer-events: none;
}

.hero-header-content .hero-slider-dots {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.55rem;
    margin-top: 1.75rem;
    margin-bottom: 0.25rem;
    padding: 0;
    max-width: 100%;
    z-index: 2;
}

.hero-slider-dot {
    width: 11px;
    height: 11px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.25s ease;
    flex-shrink: 0;
}

.hero-slider-dot:hover {
    transform: scale(1.1);
}

.hero-slider-dot.is-active {
    background: #e8394d;
}

.hero-header > .container,
.hero-header-content {
    position: relative;
    z-index: 2;
}

.hero-header-content .hero-subtitle {
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.hero-header-content .hero-title {
    color: #fff !important;
    text-shadow: 0 3px 22px rgba(0, 0, 0, 0.55);
}

.hero-header::after {
    z-index: 3;
}

/*** Hero Header ***/
.hero-header,
.page-header {
    min-height: 85vh;
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.05)), url(../img/Casulo-hero.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
/*** Hero Header ***/

.page-header::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100'%3E%3Cpath fill='%23e8f2fc' fill-opacity='1' d='M0,64L80,58.7C160,53,320,43,480,48C640,53,800,75,960,80C1120,85,1280,75,1360,69.3L1440,64L1440,0L1360,0C1280,0,1120,0,960,0C800,0,640,0,480,0C320,0,160,0,80,0L0,0Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    height: 100px;
}

.page-header {
    position: relative;
}
/*** About Start ***/
.video {
    position: relative;
    height: 100%;
    min-height: 400px;
    background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)), url(../img/about.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 10px;
}

.video .btn-play {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;
    border: none;
    outline: none;
    padding: 18px 20px 18px 28px;
}

.video .btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--bs-secondary);
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
}

.video .btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--bs-primary);
    border-radius: 50%;
    transition: all 200ms;
}

.video .btn-play img {
    position: relative;
    z-index: 3;
    max-width: 100%;
    width: auto;
    height: auto;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid var(--bs-white);
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

#videoModal {
    z-index: 99999;
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}

.video.border {
    border-radius: 50% 20% / 10% 40%;
}

.about {
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url(../img/background.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
/*** About End ***/


/*** service Start ***/
.service {
    background: linear-gradient(rgba(74, 144, 217, 0.05), rgba(74, 144, 217, 0.15));
}

.service-cards-row {
    align-items: stretch;
}

.service-cards-row > [class*="col-"] {
    display: flex;
}

.service .service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .1);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 50% 20% / 10% 40%;
    transition: 0.5s;
    position: relative;
}

.service-item .service-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch !important;
    justify-content: flex-start !important;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

.service-item .service-content .service-content-inner {
    position: relative;
    z-index: 2;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.service-item .service-content-inner > .p-4 {
    flex-shrink: 0;
}

.service-item .service-content-inner a.h4 {
    flex-shrink: 0;
    display: block;
    min-height: 3rem;
    line-height: 1.3;
}

.service-item .service-content-inner p {
    flex: 1 1 auto;
    min-height: 6.75rem;
    margin-top: 1rem !important;
    margin-bottom: 0 !important;
}

.service-item .service-content-inner a.btn {
    flex-shrink: 0;
    margin-top: auto;
    align-self: center;
}

.service-content::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    right: auto;
    background: transparent;
    border-radius: 50% 20% / 10% 40%;
    transition: .5s;
}

.service-item:hover {
    border: 1px solid #8bb8e8 !important;
    background: #a8cef5;
    transition: 0.5s;
}

.service-item:hover .service-content::after {
    background: #a8cef5;
    width: 100%;
    opacity: 1;
    z-index: 1;
}

.service-item:hover .service-content-inner i,
.service-item:hover .service-content-inner p,
.service-item:hover .service-content-inner a.h4 {
    color: #ffffff !important;
}
.service-item:hover .service-content-inner i,
.service-item:hover .service-content-inner p {
    color: var(--bs-white) !important;
}
.service-item:hover .service-content-inner a.h4 {
    color: var(--bs-primary);
}

.service-item:hover .service-content-inner a.btn-primary {
    background: #ffffff !important;
    color: #4a90d9d6 !important;
}

.service-item .service-content-inner a.btn-primary:hover {
    background: var(--bs-primary) !important;
    color: var(--bs-white) !important;
}

.service-item.admin-managed-item {
    overflow: hidden;
}

.service-item.admin-managed-item .admin-item-toolbar {
    position: relative;
    z-index: 10;
    flex-shrink: 0;
    border-radius: 0;
}

.service-item.admin-managed-item .admin-draft-badge {
    position: relative;
    z-index: 11;
}

body.admin-preview-mode .service-item:hover {
    background: #fff;
}

body.admin-preview-mode .service-item:hover .service-content::after {
    width: 0;
    opacity: 0;
}


/*** Programs Start ***/
.program {
    background: linear-gradient(rgba(74, 144, 217, 0.08), rgba(74, 144, 217, 0.12));
}

.program-cards-row {
    align-items: stretch;
}

.program-cards-row > [class*="col-"] {
    display: flex;
}

.program-cards-row .program-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.program-cards-row .program-item .program-img .overflow-hidden {
    height: 220px;
}

.program-cards-row .program-item .program-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center center;
}

.program-cards-row .program-item .program-text {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding-top: 150px;
    margin-top: -125px;
}

.program-cards-row .program-item .program-text-inner {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.program-cards-row .program-item .program-text-inner a.h4 {
    flex-shrink: 0;
    display: block;
    min-height: 3rem;
    line-height: 1.3;
}

.program-cards-row .program-item .program-text-inner p {
    flex: 1 1 auto;
    min-height: 5.25rem;
    margin-top: 1rem !important;
    margin-bottom: 0 !important;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.program-cards-row .program-item .program-teacher {
    flex-shrink: 0;
}

.program-cards-row .program-item > .d-flex.bg-primary {
    flex-shrink: 0;
    margin-top: auto;
}

.program-cards-row .program-item .program-img img,
.program-cards-row .program-item .program-teacher img,
.program-cards-row .program-item:hover .program-text-inner a.h4 {
    transition: 0.5s;
}

.program-cards-row .program-item:hover .program-img img,
.program-cards-row .program-item:hover .program-teacher img {
    transform: scale(1.2);
}

.program-cards-row .program-item:hover .program-text-inner a.h4 {
    color: var(--bs-primary) !important;
}

.program-cards-row .program-item.admin-managed-item {
    overflow: hidden;
}
/*** Programs End ***/


/*** Events Start ***/
.event-cards-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 1.5rem;
}

.events-item {
    box-sizing: border-box;
    width: 260px;
    min-width: 260px;
    max-width: 260px;
    height: 340px;
    flex: 0 0 260px;
    margin: 0;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.events-item .events-inner {
    flex: 0 0 auto;
    padding: 0.75rem 0.5rem 0;
}

.events-item .events-inner .events-rate {
    position: absolute;
    width: 88px;
    top: 0.65rem;
    left: 50%;
    margin-left: -44px;
    border-radius: 10% / 50%;
    font-size: 0.82rem;
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
    z-index: 2;
}

.events-item .events-inner .events-img {
    width: 135px;
    height: 135px;
    min-width: 135px;
    max-width: 135px;
    min-height: 135px;
    max-height: 135px;
    flex-shrink: 0;
    margin: 1rem auto 0;
    border: 4px solid #ffffff;
    box-shadow: 0 8px 22px rgba(74, 144, 217, 0.16);
}

.events-item .events-inner .events-img img {
    display: block;
    width: 135px;
    height: 135px;
    min-width: 135px;
    max-width: 135px;
    min-height: 135px;
    max-height: 135px;
    object-fit: cover;
}

.events-item .events-inner .d-flex {
    padding-left: 0.7rem !important;
    padding-right: 0.7rem !important;
    padding-top: 0.35rem !important;
    padding-bottom: 0.35rem !important;
    font-size: 0.75rem;
}

.events-item .events-text {
    margin-top: auto;
    padding: 0.9rem 1rem !important;
    flex: 0 0 auto;
    min-height: 108px;
}

.events-item .events-text a.h4 {
    font-size: 1rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.events-item .events-text p {
    font-size: 0.85rem;
    line-height: 1.45;
    margin-top: 0.45rem !important;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.events-item .events-inner .events-img .event-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 0.5s;
    z-index: 1;
    opacity: 0;
}

.events-item .events-inner .events-img:hover .event-overlay {
    opacity: 1;
}

.events-item .events-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    bottom: auto;
    background: rgba(74, 144, 217, 0.85);
    border-radius: 10px;
    transition: 0.5s;
}

.events-item:hover .events-img::after {
    height: 100%;
    opacity: 1;
}

.events-item .events-text a.h4,
.events-item .events-img img {
    transition: 0.5s;
}

.events-item:hover .events-text a.h4 {
    color: var(--bs-primary) !important;
}

.events-item:hover .events-img img {
    transform: scale(1.15);
}

body.admin-preview-mode .events-item {
    width: 260px;
    min-width: 260px;
    max-width: 260px;
    flex: 0 0 260px;
}
/*** Events End ***/


/*** Blog Start ***/
.blog .blog-item .blog-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    bottom: auto;
    background: rgba(74, 144, 217, 0.75);
    border-radius: 10px 10px 0 0;
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img::after {
    height: 100%;
    opacity: 1;
}

.blog .blog-item .blog-date-comments {
    padding-top: 150px !important; 
    margin-top: -125px;
}

.blog .blog-item .blog-img img,
.blog .blog-item .blog-content img,
.blog .blog-item .blog-text-inner a.h4 {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.3);
}

.blog .blog-item:hover .blog-content img {
    transform: scale(1.3);
}

.blog .blog-item:hover .blog-text-inner a.h4 {
    color: var(--bs-primary);
}
/*** Blog End ***/

.blog-carousel-wrap {
    position: relative;
    padding: 0 0.25rem;
}

.blog-carousel-wrap.is-hover-left {
    cursor: w-resize;
}

.blog-carousel-wrap.is-hover-right {
    cursor: e-resize;
}

.blog-carousel-wrap.is-hover-center {
    cursor: default;
}

.blog-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #4a90d9;
    box-shadow: 0 8px 24px rgba(30, 58, 95, 0.18);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.blog-carousel-wrap:hover .blog-carousel-arrow {
    opacity: 1;
    pointer-events: auto;
}

.blog-carousel-wrap.is-hover-left .blog-carousel-arrow-left,
.blog-carousel-wrap.is-hover-right .blog-carousel-arrow-right {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%) scale(1.08);
}

.blog-carousel-arrow-left {
    left: 0.25rem;
}

.blog-carousel-arrow-right {
    right: 0.25rem;
}

.blog-carousel-arrow:hover {
    background: #4a90d9;
    color: #fff;
}

.blog .blog-carousel .owl-stage {
    display: flex;
    align-items: stretch;
}

.blog .blog-carousel .owl-item {
    display: flex;
}

.blog-carousel-slide {
    width: 100%;
    display: flex;
}

.blog .blog-carousel .blog-item,
.blog .blog-carousel .blog-carousel-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 520px;
}

.blog .blog-carousel .blog-img {
    height: 240px;
    flex: 0 0 240px;
}

.blog .blog-carousel .blog-img img,
.blog .blog-carousel .blog-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.blog .blog-carousel .blog-date-comments {
    padding-top: 0.85rem !important;
    margin-top: 0 !important;
    flex-shrink: 0;
}

.blog .blog-carousel .blog-content {
    flex-shrink: 0;
}

.blog .blog-carousel .blog-item > .px-4.pb-4.bg-light.rounded-bottom,
.blog .blog-carousel .blog-carousel-card > .px-4.pb-4.bg-light.rounded-bottom {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.blog .blog-carousel .blog-text-inner {
    flex: 1 1 auto;
}

.blog .blog-carousel .blog-text-inner a.h4 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    line-height: 1.35;
}

.blog .blog-carousel .blog-text-inner p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    margin-bottom: 1rem !important;
}

.blog .blog-carousel .blog-item > .px-4.pb-4 .text-center,
.blog .blog-carousel .blog-carousel-card > .px-4.pb-4 .text-center {
    margin-top: auto;
    flex-shrink: 0;
}

.blog .blog-carousel .blog-item:hover .blog-img img {
    transform: scale(1.08);
}

.blog .blog-carousel .owl-dots {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

.blog .blog-carousel .owl-dot {
    width: 10px;
    height: 10px;
    margin: 0 !important;
    border-radius: 50%;
    background: rgba(74, 144, 217, 0.35) !important;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.blog .blog-carousel .owl-dot.active {
    background: #e8394d !important;
    transform: scale(1.2);
}

.blog .blog-carousel .owl-dot:hover {
    background: rgba(74, 144, 217, 0.65) !important;
}



/*** Team Start ***/
.team .team-item {
    position: relative;
    width: 100%;
    height: 100%;
}

.team .team-item .team-icon {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
}

.team .team-item .team-icon a.share-link {
    opacity: 0;
    transition: 0.5s;
}

.team .team-item:hover .team-icon a.share-link {
    opacity: 1;
}

.team .team-item .team-content,
.team .team-item .team-content h4,
.team .team-item .team-content p {
    transition: 0.5s;
}

.team .team-item:hover .team-content {
    background: var(--bs-primary) !important;
    border-radius: 0 0 10px 10px;
}

.team .team-item:hover .team-content h4 {
    color: var(--bs-white) !important;
}

.team .team-item:hover .team-content p {
    color: var(--bs-dark) !important;
}
/*** Team end ***/


/*** testimonial Start ***/
.testimonial .testimonial-carousel {
    position: relative;
    
}

.testimonial .testimonial-carousel .owl-dots {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial .testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: var(--bs-primary);
    border-radius: 10px;
    transition: 0.5s;
}

.testimonial .testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--bs-secondary);
}
/*** testimonial End ***/


/*** Footer Start ***/
.footer {
    background: linear-gradient(135deg, rgba(238, 246, 255, 0.95) 0%, rgba(255, 255, 255, 0.98) 50%, rgba(232, 242, 252, 0.95) 100%), url(../img/background.jpg);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
}

.footer-brand {
    font-weight: 700;
    font-size: 1.75rem;
}

.footer-brand-o {
    color: #4a90d9;
}

.footer-brand-name {
    color: #2e6eb3;
}

.footer-about {
    color: #5f6075;
    line-height: 1.7;
}

.footer-section-title {
    display: inline-block;
    color: #4a90d9;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.06em;
    padding-bottom: 0.45rem;
    border-bottom: 3px solid #6eb3f7;
    border-radius: 0 0 6px 6px;
}

.footer-newsletter-box {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(110, 179, 247, 0.35);
    border-radius: 20px;
    padding: 1.25rem;
    box-shadow: 0 10px 30px rgba(74, 144, 217, 0.1);
}

.footer-newsletter-title {
    color: #1e3a5f;
    font-weight: 700;
}

.footer-newsletter-input {
    border: 2px solid #d4e8ff;
    border-radius: 14px;
    overflow: hidden;
    background: #f8fbff;
}

.footer-newsletter-input .form-control {
    background: transparent;
    color: #1e3a5f;
}

.footer-newsletter-input .form-control::placeholder {
    color: #94a3b8;
}

.footer-hours-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(110, 179, 247, 0.3);
    border-radius: 22px;
    padding: 1.35rem 1.25rem;
    box-shadow: 0 14px 40px rgba(74, 144, 217, 0.12);
}

.footer-hours-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.1rem;
    padding-bottom: 0.85rem;
    border-bottom: 2px solid #e8f2fc;
}

.footer-hours-header h5 {
    color: #1e3a5f;
    font-weight: 700;
    font-size: 1rem;
}

.footer-hours-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4a90d9, #6eb3f7);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.footer-hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.footer-hours-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.55rem 0.75rem;
    border-radius: 12px;
    background: #f8fbff;
    transition: background 0.2s ease;
}

.footer-hours-row:hover {
    background: #eef6ff;
}

.footer-hours-day {
    color: #1e3a5f;
    font-weight: 600;
    font-size: 0.9rem;
}

.footer-hours-time {
    color: #2e6eb3;
    font-weight: 600;
    font-size: 0.82rem;
    background: rgba(74, 144, 217, 0.12);
    padding: 0.2rem 0.65rem;
    border-radius: 20px;
    white-space: nowrap;
}

.footer-hours-row.is-closed {
    background: #f1f5f9;
}

.footer-hours-row.is-closed .footer-hours-day {
    color: #94a3b8;
}

.footer-hours-row.is-closed .footer-hours-time {
    color: #64748b;
    background: rgba(100, 116, 139, 0.12);
}

.footer-contact-line {
    color: #5f6075;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-contact-line i {
    color: #4a90d9;
    width: 1.25rem;
}

.footer-social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4a90d9, #6eb3f7);
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(74, 144, 217, 0.35);
    color: #fff !important;
}

.footer-gallery-img {
    border-radius: 50%;
    overflow: hidden;
    border: 2px dashed #6eb3f7;
    padding: 4px;
    background: #fff;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.footer-gallery-img img {
    width: 100%;
    border-radius: 50%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.footer-gallery-img:hover {
    border-color: #4a90d9;
    transform: scale(1.05);
}

.footer-gallery-img:hover img {
    transform: scale(1.08);
}

.footer-gallery-more {
    border-radius: 50px;
    font-weight: 600;
    padding: 0.45rem 1rem;
}

.footer .admin-managed-item {
    position: relative;
}

.footer .footer-galary-img img {
    width: 100%;
    border-style: dashed;
    border-color: var(--bs-primary);
    transition: 0.5s;
}

.footer .footer-galary-img img:hover {
    transform: scale(1.2);
}

.footer-item a.text-body:hover,
.footer-contact-line:hover {
    color: var(--bs-secondary) !important;
}

.site-copyright {
    background: linear-gradient(90deg, #1e3a5f 0%, #2e6eb3 100%) !important;
}
/*** Footer End ***/

/*** Page decorative background ***/
.page-decor-section {
    position: relative;
    overflow: hidden;
}

.page-decor-section::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    background: #b8d4f5;
    border-radius: 50%;
    top: 120px;
    right: -100px;
    opacity: 0.28;
    pointer-events: none;
}

.page-decor-section::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    background: #b8d4f5;
    border-radius: 50%;
    bottom: 80px;
    left: -80px;
    opacity: 0.22;
    pointer-events: none;
}

.page-decor-section > .container {
    position: relative;
    z-index: 2;
}

.decor {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.decor-plane {
    position: absolute;
    top: 220px;
    left: -20px;
    width: 280px;
    height: 120px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.85;
}

.decor-plane svg {
    width: 100%;
    height: 100%;
}

.plane-path {
    fill: none;
    stroke: #9ec5eb;
    stroke-width: 3;
    stroke-dasharray: 8 8;
    stroke-linecap: round;
}

.plane-icon {
    fill: none;
    stroke: #7eb0e0;
    stroke-width: 5;
    stroke-linejoin: round;
    stroke-linecap: round;
}

.decor-heart {
    top: 340px;
    right: 12%;
    color: #4a90d9;
    font-size: 40px;
    transform: rotate(-10deg);
    opacity: 0.75;
}

.decor-white-dots {
    top: 280px;
    right: 8%;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(#ffffff 3px, transparent 3px);
    background-size: 22px 22px;
    opacity: 0.7;
}

.decor-pink-dots {
    bottom: 120px;
    left: 6%;
    width: 110px;
    height: 110px;
    background-image: radial-gradient(#a8cef5 3px, transparent 3px);
    background-size: 25px 25px;
    opacity: 0.65;
}