/********** Template CSS **********/
:root {
    --primary: #1E60AA;
    --secondary: #FF4917;
    --light: #EDF1FC;
    --dark: #17224D;
}

.fw-medium {
    font-weight: 600 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.top-bar {
    height: 75px;
    padding: 0 4rem;
}

.nav-bar {
    position: relative;
    padding: 0 4.75rem;
    transition: .5s;
    z-index: 9999;
}

.nav-bar.sticky-top {
    position: sticky;
    padding: 0;
    z-index: 9999;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .nav-bar {
        padding: 0;
    }

    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.header-carousel .container,
.page-header .container {
    position: relative;
    padding: 45px 0 45px 35px;
    border-left: 15px solid #FFFFFF;
}

.header-carousel .container::before,
.header-carousel .container::after,
.page-header .container::before,
.page-header .container::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100px;
    height: 15px;
    background: #FFFFFF;
}

.header-carousel .container::after,
.page-header .container::after {
    top: 100%;
    margin-top: -15px;
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item h5,
    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .4)), url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** Facts ***/
.fact {
    background: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .4)), url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}


/*** Service ***/
.service-item-top img {
    transition: .5s;
}

.service-item-top:hover img {
    transform: scale(1.1);
}

.service-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.service-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: var(--primary);
    border: 5px solid var(--light);
    transition: .5s;
}

.service-carousel .owl-dot.active {
    background: var(--light);
    border-color: var(--primary);
}


/*** Booking ***/
.video {
    position: relative;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.video .btn-play {
    position: relative;
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;
    border: none;
    outline: none;
    padding: 18px 20px 18px 28px;
    margin-bottom: 4rem;
}

.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: #FFFFFF;
    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: #FFFFFF;
    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(--primary);
    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;
}

.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}


/*** Team ***/
.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}

.team-item .team-text {
    height: 90px;
    overflow: hidden;
}

.team-item .team-text .bg-light,
.team-item .team-text .bg-primary {
    position: relative;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: .5s;
}

.team-item .team-text .bg-primary {
    flex-direction: row;
}

.team-item:hover .team-text .bg-light {
    margin-top: -90px;
}

.team-item .team-text .bg-primary .btn {
    color: var(--primary);
    background: #FFFFFF;
}

.team-item .team-text .bg-primary .btn:hover {
    color: #FFFFFF;
    background: var(--secondary)
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-text,
.testimonial-carousel .owl-item.center .testimonial-text * {
    position: relative;
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-item .testimonial-text::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    left: 50%;
    bottom: -30px;
    transform: translateX(-50%);
    border: 15px solid;
    border-color: var(--light) transparent transparent transparent;
    transition: .5s;

}

.testimonial-carousel .owl-item.center .testimonial-text::after {
    border-color: var(--primary) transparent transparent transparent;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    font-size: 30px;
    color: var(--primary);
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}
/* edit css */

/* Container Section */
.mess-section {
    width: 100%;
    padding: 60px 20px;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
}

.mess-container {
    max-width: 1200px;
    width: 100%;
    text-align: center;
}

/* Badge featuring your #0d6efd color accent */
.top-badge {
    display: inline-block;
    background-color: rgba(13, 110, 253, 0.1); 
    color: #0d6efd; 
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    font-family: sans-serif;
    margin-bottom: 16px;
    text-transform: capitalize;
}

.main-heading {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    font-family: sans-serif;
    margin-bottom: 40px;
}

/* Grid setup for 4 columns */
.mess-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

/* Base Card Styles mapped with your edit- identifiers */
.mess-card {
    background-color: #EDF1FC; 
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    height: 165px;
    box-sizing: border-box;
    grid-column: span 3; /* Default: 4 cards per row (12 / 3 = 4) */
}

/* Center-aligning the bottom 3 items on wide monitors */
.mess-grid .mess-card:nth-child(5) {
    grid-column: 2 / span 3;
}
.mess-grid .mess-card:nth-child(6) {
    grid-column: 5 / span 3;
}
.mess-grid .mess-card:nth-child(7) {
    grid-column: 8 / span 3;
}

.card-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.card-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1c1c1c;
    font-family: sans-serif;
    line-height: 1.2;
    margin: 0;
}

/* Interactive elements matching #0d6efd */
.view-link {
    color: #0d6efd;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    font-family: sans-serif;
    border-bottom: 1.5px solid #0d6efd;
    padding-bottom: 2px;
    display: inline-block;
    align-self: flex-start;
}

.card-image {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* --- Responsive Media Queries --- */

/* Tablets / Medium Screens (2 Columns layout) */
@media (max-width: 992px) {
    .mess-grid {
        gap: 16px;
    }
    .mess-card,
    .mess-grid .mess-card:nth-child(5),
    .mess-grid .mess-card:nth-child(6),
    .mess-grid .mess-card:nth-child(7) {
        grid-column: span 6; /* 2 cards per row */
    }
}

/* Mobile Screens (1 Column stacked layout) */
@media (max-width: 576px) {
    .mess-section {
        padding: 40px 16px;
    }
    .main-heading {
        font-size: 32px;
        margin-bottom: 28px;
    }
    .mess-card,
    .mess-grid .mess-card:nth-child(5),
    .mess-grid .mess-card:nth-child(6),
    .mess-grid .mess-card:nth-child(7) {
        grid-column: span 12; /* Full width */
        height: 140px;
        padding: 20px;
    }
    .card-content h3 {
        font-size: 19px;
    }
}

/* section second */
/* Container and Section Outer Wrapper */
.different-section {
    width: 100%;
    padding: 60px 24px;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
}

.different-container {
    max-width: 1200px;
    width: 100%;
    background-color: #ecf9e6; /* Soft green background from the image */
    padding: 60px;
    position: relative;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

/* Layout Split for Text Content vs Image Illustration */
.different-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}

.different-text-block {
    max-width: 55%;
}

.different-heading {
    font-size: 44px;
    font-weight: 700;
    color: #111111;
    font-family: sans-serif;
    margin-bottom: 18px;
}

.different-subheading {
    font-size: 20px;
    color: #333333;
    line-height: 1.4;
    font-family: sans-serif;
}

.different-illustration {
    position: absolute;
    right: 20px;
    bottom: -40px; /* Standard overlap positioning */
    z-index: 2;
}

.different-illustration img {
    max-width: 240px;
    height: auto;
    display: block;
}

/* Bottom Features Row Panel */
.features-bar {
    background-color: #daedd2; /* Darker green badge accent row */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 10px;
    z-index: 1;
    margin-top: 40px;
}

/* Feature elements using edit- prefix */
.feature-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Column inner divider borders */
.feature-item:not(:last-child) {
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

/* Responsive Font Awesome Icon Customization */
.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px; 
    color: #4a7c59; /* Matching brand contrast tone */
    width: 32px;
    height: 32px;
}

.feature-text {
    font-size: 15px;
    font-weight: 600;
    color: #111111;
    font-family: sans-serif;
    line-height: 1.25;
}

/* --- Media Queries (Responsiveness) --- */

/* Tablets & Small Desktop Displays */
@media (max-width: 992px) {
    .different-container {
        padding: 40px;
    }
    .different-heading {
        font-size: 34px;
    }
    .different-subheading {
        font-size: 18px;
    }
    .different-illustration {
        bottom: -20px;
    }
    .different-illustration img {
        max-width: 180px;
    }
    .features-bar {
        flex-wrap: wrap;
        gap: 20px 0;
    }
    .feature-item {
        flex: unset;
        width: 33.33%;
    }
    .feature-item:nth-child(3) {
        border-right: none;
    }
}

/* Mobile Screens */
@media (max-width: 768px) {
    .different-section {
        padding: 20px 12px;
    }
    .different-container {
        padding: 30px 20px;
    }
    .different-top-row {
        flex-direction: column-reverse;
        align-items: flex-start;
        text-align: left;
    }
    .different-text-block {
        max-width: 100%;
        margin-top: 20px;
    }
    .different-illustration {
        position: relative;
        right: auto;
        bottom: auto;
        align-self: center;
        margin-bottom: 10px;
    }
    .features-bar {
        margin-top: 24px;
        padding: 20px;
    }
    .feature-item {
        width: 100%;
        justify-content: flex-start;
        border-right: none !important;
        padding: 10px 0;
    }
    .feature-item:not(:last-child) {
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }
}
.ee-product-card{
    background:#fff;
    overflow:hidden;
    box-shadow:0 8px 25px rgba(0,0,0,0.08);
    transition:all .4s ease;
    height:100%;
}

.ee-product-card:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 40px rgba(0,0,0,0.15);
}

.ee-product-card img{
    width:100%;
    height:320px;
        object-fit: contain;
    transition:0.4s;
}

.ee-product-card:hover img{
    transform:scale(1.05);
}

.ee-product-content{
    padding:25px;
}

.ee-product-content h4{
    font-size:22px;
    font-weight:700;
    margin-bottom:12px;
}

.ee-product-content p{
    color:#666;
    margin-bottom:0;
    line-height:1.7;
}

@media (max-width:991px){
    .ee-product-card img{
        height:280px;
    }
}

@media (max-width:767px){
    .ee-product-card img{
        height:250px;
    }
}

.vrs-card-left,
.vrs-card-right{
    
    padding:50px;
    height:100%;
    overflow:hidden;
}

.vrs-card-left{
    background:#eaf6ee;
}

.vrs-card-right{
    background:#f8f5ea;
}

.vrs-title{
    font-size:48px;
    font-weight:700;
    margin-bottom:25px;
    color:#222;
}

.vrs-card-left p,
.vrs-card-right p{
    color:#555;
    line-height:1.9;
    font-size:16px;
    text-align: justify;
}

.vrs-card-left img{
    max-height:350px;
    transition:.4s;
}

.vrs-card-left:hover img{
    transform:scale(1.05);
}

.vrs-founder-img{
    max-height:350px;
    object-fit:contain;
}

.vrs-founder-box{
    background:#0d6efd; /* use your primary color */
    color:#fff;
    padding:18px;
    border-radius:15px;
    margin-top:15px;
}

.vrs-founder-box h4{
    margin-bottom:5px;
    font-weight:700;
}

.vrs-founder-box p{
    color:#fff;
    margin:0;
}

@media(max-width:991px){

    .vrs-card-left,
    .vrs-card-right{
        padding:30px;
    }

    .vrs-title{
        font-size:34px;
    }

    .vrs-founder-img{
        margin-top:25px;
    }
}

@media(max-width:576px){

    .vrs-title{
        font-size:28px;
    }

    .vrs-card-left,
    .vrs-card-right{
        padding:25px;
    }
}
.qna .accordion-item{
    border:0;
    border-bottom:1px solid #e5e5e5;
    background:#fff;
}

.qna .accordion-button{
    background:#fff;
    color:#111;
    font-size:22px;
    font-weight:600;
    padding:25px 10px;
    box-shadow:none;
}

.qna .accordion-button:not(.collapsed){
    background:#fff;
    color:#0d6efd; /* apna primary color */
}

.qna .accordion-button:focus{
    box-shadow:none;
    border:none;
}

.qna .accordion-body{
    padding:0 10px 25px;
    font-size:16px;
    line-height:1.8;
    color:#666;
}

@media(max-width:768px){

    .qna .accordion-button{
        font-size:18px;
        padding:20px 10px;
    }

    .qna .accordion-body{
        font-size:15px;
    }

}
.q-before-after{
    position:relative;
    width:100%;
    max-width:1200px;
    margin:auto;
    overflow:hidden;
    border-radius:30px;
}

.q-before-after img{
    width:100%;
    display:block;
    height:500px;
    object-fit:cover;
}

.q-before-img{
    position:absolute;
    top:0;
    left:0;
    width:50%;
    height:100%;
    overflow:hidden;
}

.q-before-img img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.q-slider{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    opacity:0;
    cursor:ew-resize;
    z-index:5;
}

.q-slider-line{
    position:absolute;
    top:0;
    left:50%;
    width:4px;
    height:100%;
    background:#fff;
    transform:translateX(-50%);
    z-index:4;
}

.q-slider-line::before{
    content:"❮❯";
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:60px;
    height:60px;
    background:#fff;
    color:blue;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:18px;
    font-weight:700;
    box-shadow:0 5px 20px rgba(0,0,0,.2);
}

.q-label-before,
.q-label-after{
    position:absolute;
    top:20px;
    padding:8px 20px;
    background:rgba(0,0,0,.7);
    color:#fff;
    border-radius:30px;
    font-weight:600;
    z-index:4;
}

.q-label-before{
    left:20px;
}

.q-label-after{
    right:20px;
}

@media(max-width:768px){

    .q-before-after img{
        height:300px;
    }

    .q-slider-line::before{
        width:45px;
        height:45px;
        font-size:14px;
    }

    .q-label-before,
    .q-label-after{
        font-size:12px;
        padding:6px 12px;
    }
}