
/*** 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 ***/


.back-to-top {
    position: fixed !important;
    right: 20px !important;
    left: auto !important; /* ensure it is not pinned to the left */
    bottom: 20px !important;
    z-index: 1100 !important; /* higher than navbar and modals */
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
    transition: transform 0.15s ease, opacity 0.2s ease;
    opacity: 0.95;
}

.back-to-top:hover {
    transform: translateY(-4px);
    opacity: 1;
}

/* Respect safe-area on iOS and reduce spacing on very small screens */
@media (max-width: 575.98px) {
    .back-to-top {
        right: calc(12px + env(safe-area-inset-right, 0px)) !important;
        left: auto !important;
        bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important;
        width: 44px;
        height: 44px;
    }
}

:root {
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Inter', sans-serif;
}

body {
    font-family: var(--font-secondary);
    font-weight: 400;
    line-height: 1.6;
    color: #2D2D2D;
}

h1, h2, h3, .h1, .h2, .h3 {
    font-family: var(--font-primary) !important;
    font-weight: 700 !important;
    line-height: 1.3;
    color: #1A1A1A;
}

h4, h5, h6, .h4, .h5, .h6 {
    font-family: var(--font-secondary) !important;
    font-weight: 500 !important;
    line-height: 1.4;
}

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.wow,
.animated {
    animation-duration: 1.2s !important;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fadeInUp {
    animation-name: fadeInUp;
}

.fadeIn {
    animation-name: fadeIn;
}


/*** Modern Hero Section Start ***/
.hero-section {
    position: relative;
    background-color: #FBF9F6;
    min-height: 100vh;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,253,250,0.95) 0%, rgba(255,251,247,0.95) 100%);
    z-index: 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 70%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, var(--bs-primary) 0%, transparent 70%);
    opacity: 0.05;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 4rem 0;
}

.hero-tag {
    margin-bottom: 2rem;
}

.hero-tag span {
    font-family: var(--font-secondary);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #1A1A1A;
}

.hero-title .highlight {
    color: var(--bs-primary);
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    z-index: -1;
}

.hero-text {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-buttons {
    margin-bottom: 3rem;
}

.hero-buttons .btn {
    padding: 1rem 2rem;
    font-weight: 500;
    border-radius: 8px;
    text-transform: none;
    transition: all 0.3s ease;
}

.hero-buttons .btn-primary {
    background: var(--bs-primary);
    border: none;
    box-shadow: 0 10px 20px rgba(var(--bs-primary-rgb), 0.15);
}

.hero-buttons .btn-outline-dark {
    border: 2px solid #2D2D2D;
    color: #2D2D2D;
}

.hero-buttons .btn-outline-dark:hover {
    background: #2D2D2D;
    color: #fff;
}

.hero-features {
    display: flex;
    gap: 2rem;
}

.hero-features .feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-features .feature i {
    font-size: 1.25rem;
}

.hero-features .feature span {
    font-weight: 500;
    color: #2D2D2D;
}

.hero-visual {
    position: relative;
    z-index: 2;
}

.hero-images {
    position: relative;
    height: 600px;
}

.hero-images .main-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    height: 80%;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.hero-images .accent-image {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60%;
    height: 50%;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    z-index: 2;
}

.experience-badge {
    position: absolute;
    right: 20px;
    bottom: 100px;
    background: #fff;
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    z-index: 3;
    text-align: center;
}

.experience-badge .years {
    display: block;
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--bs-primary);
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.875rem;
    color: #666;
    margin-top: 0.5rem;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid #2D2D2D;
    border-radius: 15px;
    display: inline-block;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--bs-primary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: mouse-wheel 1.5s infinite;
}

.scroll-text {
    display: block;
    font-size: 0.875rem;
    color: #666;
    margin-top: 0.5rem;
}

@keyframes mouse-wheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }
}

@media (max-width: 991.98px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-images {
        height: 400px;
        margin-top: 2rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .experience-badge {
        right: 10px;
        bottom: 60px;
        padding: 1rem;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-text {
        font-size: 1.125rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .hero-buttons .btn-outline-dark {
        margin-left: 0 !important;
    }
}

/*** Hero Section End ***/

/* New hero appearance (full-bleed background) - Mobile First Approach */
.hero-appearance {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
        padding: 6rem 0 3rem; /* add a little more top breathing room (especially for mobile) */
.hero-appearance .highlight-text {
    position: relative;
    display: inline-block;
    color: #28a745 !important;
}

.hero-appearance .highlight-text::after {
    content: '';
    position: absolute;
    bottom: 0.1em;
    left: 0;
    width: 100%;
    height: 0.15em;
    background-color: rgba(40, 167, 69, 0.3);
    border-radius: 4px;
}

.hero-appearance .pure-veg-badge {
    font-family: var(--font-primary);
    font-weight: 500;
    letter-spacing: 0.5px;
    background-color: #28a745;
    color: white;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(40, 167, 69, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}
}

.hero-appearance .hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: saturate(1.1) brightness(0.7);
    z-index: 0;
    transform: scale(1.1);
    transition: transform 10s ease;
}

.hero-appearance:hover .hero-bg {
    transform: scale(1);
}

.hero-appearance .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,10,10,0.75) 0%, rgba(10,10,10,0.6) 100%);
    z-index: 1;
}

.hero-appearance .container {
    z-index: 2;
    position: relative;
}

.hero-appearance h1 {
    font-family: var(--font-primary);
    font-size: 2.25rem;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.hero-appearance .lead {
    font-size: 1rem;
    line-height: 1.6;
}

.text-white-75 {
    color: rgba(255,255,255,0.9);
}

.hero-appearance .badge {
    font-family: var(--font-secondary);
    font-weight: 500;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
}

/* Make the small badge row responsive and wrap on very small screens */
.hero-appearance > .container .d-flex.align-items-center.gap-2.mb-4 {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

/* Mobile: stack badges and scale down the Pure Veg badge and highlighted text */
@media (max-width: 575.98px) {
    .hero-appearance > .container .d-flex.align-items-center.gap-2.mb-4 {
        flex-direction: column;
        align-items: center;
    }

    .hero-appearance .pure-veg-badge {
        font-size: 0.85rem;
        padding: 0.35rem 0.75rem;
    }

    .hero-appearance .highlight-text {
        font-size: 1.05rem;
    }

    .hero-appearance h1 {
        font-size: 1.9rem;
        text-align: center;
    }
}

/* Mobile-first button styles */
.hero-appearance .btn {
    width: 100%;
    margin-bottom: 0.75rem;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
}

.btn-outline-light {
    border: 2px solid rgba(255,255,255,0.9);
    color: #fff;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-outline-light:hover {
    border-color: #fff;
    color: var(--bs-primary);
}

.btn-outline-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #fff;
    z-index: -1;
    transition: width 0.3s ease;
}

.btn-outline-light:hover::before {
    width: 100%;
}

/* Mobile features section */
.hero-appearance .d-flex.gap-4 {
    flex-direction: column;
    gap: 1rem !important;
}

.hero-appearance .d-flex.gap-4 .d-flex {
    justify-content: center;
}

/* Mobile hero cards */
.hero-card {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100% !important;
    margin: 0.5rem 0;
}

.hero-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.1);
}

.rounded-4 {
    border-radius: 0.75rem;
}

.rounded-3 {
    border-radius: 0.5rem;
}

/* Tablet breakpoint */
@media (min-width: 768px) {
    .hero-appearance h1 {
        font-size: 2.75rem;
    }

    .hero-appearance .lead {
        font-size: 1.125rem;
    }

    .hero-appearance .btn {
        width: auto;
        margin-bottom: 0;
    }

    .hero-appearance .d-flex.gap-4 {
        flex-direction: row;
    }

    .hero-appearance .badge {
        font-size: 1rem;
    }
}

/* Desktop breakpoint */
@media (min-width: 992px) {
    .hero-appearance {
        padding: 0;
        padding-top: 3rem;
    }

    .hero-appearance h1 {
        font-size: 3.5rem;
        margin-bottom: 1.5rem;
    }

    .hero-appearance .lead {
        font-size: 1.25rem;
    }

    .hero-appearance .overlay {
        background: linear-gradient(90deg, rgba(10,10,10,0.75) 0%, rgba(10,10,10,0.4) 100%);
    }

    .hero-card {
        width: 280px !important;
    }

    .rounded-4 {
        border-radius: 1rem;
    }

    .rounded-3 {
        border-radius: 0.75rem;
    }
}

@media (min-width: 992px) {
    .hero-appearance h1 { font-size: 3.2rem; }
}


.hero-content {
    position: relative;
    z-index: 1;
}

.hero-image-container {
    position: relative;
    height: 500px;
}

.hero-img-1 {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 70%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.hero-img-2 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60%;
    height: 60%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.hero-img-1:hover, .hero-img-2:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 50px rgba(0,0,0,0.15);
}

@media (max-width: 991.98px) {
    .hero-image-container {
        height: 400px;
        margin-top: 2rem;
    }
    
    .hero-img-1 {
        width: 70%;
        height: 60%;
    }
    
    .hero-img-2 {
        width: 50%;
        height: 50%;
    }
}

/*** Hero Section End ***/

/*** Button Start ***/
.btn {
    font-family: var(--font-secondary);
    font-weight: 500;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: none;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255,255,255,0.1);
    transition: width 0.3s ease;
}

.btn:hover::after {
    width: 100%;
}

.btn.btn-primary {
    background: var(--bs-primary);
    border: none;
    color: #fff;
    box-shadow: 0 4px 15px rgba(var(--bs-primary-rgb), 0.15);
}

.btn.btn-primary:hover {
    background: var(--bs-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--bs-primary-rgb), 0.2);
}

.btn.btn-outline-primary {
    border: 2px solid var(--bs-primary);
    background: transparent;
    color: var(--bs-primary);
}

.btn.btn-outline-primary:hover {
    background: var(--bs-primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 38px;
    height: 38px;
}

.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;
}
/*** Button End ***/


/*** Navbar Start ***/
.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-bar.scrolled {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.navbar {
    padding: 0 !important;
}

.navbar-brand .logo-img {
    height: 80px;
    width: auto;
    transition: all 0.3s ease;
}

/* Mobile-specific logo size */
@media (max-width: 767.98px) {
    .navbar-brand .logo-img {
        height: 55px;
    }
}

.navbar .navbar-nav .nav-link {
    padding: 0.5rem 1.2rem;
    font-family: var(--font-secondary);
    font-weight: 500;
    font-size: 1rem;
    color: #2D2D2D;
    transition: all 0.3s ease;
    position: relative;
}

.navbar .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 1.2rem;
    right: 1.2rem;
    height: 2px;
    background: var(--bs-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.navbar .navbar-nav .nav-link:hover::after,
.navbar .navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }
    
    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        opacity: 1;
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

#searchModal .modal-content {
    background-color: rgba(255, 255, 255, .95);
}
/*** Navbar End ***/


/*** Events Start ***/
.event .tab-class .nav-item a.active {
    background: var(--bs-primary) !important;
}

.event .event-img .event-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(212, 167, 98, 0.5);
    border-radius: 8px;
    transition: all 0.3s ease;
    opacity: 0;
    z-index: 1;
}

.event .event-img:hover .event-overlay {
    opacity: 1;
}

.event .event-img .event-overlay .zoom-icon {
    background: rgba(255, 255, 255, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    transform: scale(0);
}

.event .event-img:hover .event-overlay .zoom-icon {
    transform: scale(1);
}

.event .event-img .event-overlay .zoom-icon:hover {
    background: #fff;
    transform: scale(1.1);
}

.event .event-img .event-overlay .zoom-icon i {
    color: var(--bs-primary);
    transition: all 0.3s ease;
}

.event .event-img .event-overlay .zoom-icon:hover i {
    transform: scale(1.1);
}
/*** Events End ***/


/*** service start ***/
.service .service-item {
    position: relative;
    height: 100%;
    border-radius: 8px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.service-content::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    bottom: auto;
    background: var(--bs-primary);
    border-radius: 8px;
    transition: 1s;
}

.service-item:hover .service-content::after {
    height: 100%;
    opacity: 1;
}

.service-item .service-content-icon {
    position: relative;
    z-index: 2;
}

.service-item .service-content-icon i,
.service-item .service-content-icon p {
    transition: 1s;
}

/* Service images */
.service-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-item:hover .service-img {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 22px 40px rgba(0,0,0,0.12);
}

.service-item:hover .service-content-icon i {
    color: var(--bs-dark) !important;
}

.service-item:hover .service-content-icon p {
    color: var(--bs-white);
}

.service-item:hover .service-content-icon a.btn-primary {
    background: var(--bs-white);
    color: var(--bs-dark);
}

.service-item .service-content-icon a.btn-primary {
    transition: 1s !important;
}
/*** Services End ***/


/*** Menu Start ***/
.menu .nav-item a.active {
    background: var(--bs-primary) !important;
}

.menu .menu-item .border-bottom {
    border-bottom-style: dashed !important;
}
/* Fixed circular thumbnails for menu items */
.menu .menu-item img.flex-shrink-0,
.menu .menu-item img {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
    border: 3px solid #fff;
}

@media (max-width: 767.98px) {
    .menu .menu-item img.flex-shrink-0,
    .menu .menu-item img {
        width: 72px;
        height: 72px;
    }
}
/*** Menu End ***/

/* Show only image and name in the menu listing (hide descriptions) */
.menu .menu-item p {
    display: none;
}

.menu .menu-item h4 {
    margin: .5rem 0 0 0;
    font-size: 1.05rem;
}


/*** Youtube Video start ***/
.video {
    position: relative;
    height: 100%;
    min-height: 400px;
    background: linear-gradient(rgba(254, 218, 154, 0.1), rgba(254, 218, 154, 0.1)), url(../img/fact.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 8px;
}

.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-primary);
    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-white);
    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-dark);
    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;
}
/*** Youtube Video End ***/


/*** Blog Start ***/
.blog-item {
    position: relative;
}

.blog-item img {
    transition: 0.5s;
}

.blog-item:hover img {
    transform: scale(1.3)
}

.blog-item .blog-content {
    position: relative;
    transform: translateY(-50%);
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.blog-item .blog-content a.btn h5 {
    transition: 0.5s;
}

.blog-item:hover .blog-content a.btn h5 {
    color: var(--bs-primary) !important;
}
/*** Blog End ***/


/*** Team Start ***/
.team-item {
    width: 100%;
    height: 100%;
    position: relative;
}

.team-item .team-icon {
    position: absolute;
    top: 0;
    right: 0;
}

.team-item .team-icon .share-link {
    opacity: 0;
    transition: 0.9s;
}

.team-item:hover .share-link {
    opacity: 1;
}

.team-item .team-content {
    transition: 0.9s;
}

.team-item:hover .team-content {
    background: var(--bs-primary) !important;
    color: var(--bs-dark) !important;
}

.team-item .team-content h4,
.team-item .team-content p {
    transition: 0.5s;
}

.team-item:hover .team-content h4 {
    color: var(--bs-dark) !important;
}

.team-item:hover .team-content p {
    color: var(--bs-white);
}
/*** Team End ***/


/*** testimonial Start ***/
.testimonial-item {
    border: 1px solid var(--bs-primary);
    padding: 30px 25px;
    background: #fff;
    transition: all 0.3s ease;
    height: 100%;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.testimonial-item .fa-quote-right {
    color: var(--bs-primary);
    opacity: 0.25;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.testimonial-content .d-flex {
    margin-bottom: 1rem;
}

.testimonial-content .fas.fa-star {
    color: #FFD700;
    margin-right: 4px;
}

.testimonial-content p {
    color: #555;
    line-height: 1.7;
    font-style: italic;
    margin: 0;
    position: relative;
    z-index: 1;
}

.testimonial-carousel .owl-stage {
    display: flex;
    align-items: stretch;
}

.testimonial-carousel .owl-item {
    display: flex;
    height: auto;
}

.testimonial-carousel.owl-rtl .testimonial-item {
    direction: ltr !important;
}
/*** testimonial End ***/


/*** Contact start ***/
.contact-form {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

/*** Contact End ***/


/*** Footer Start ***/
.footer .footer-item a.text-body:hover {
    color: var(--bs-primary) !important;
}
/*** Footer End ***/
.box {
  width: 40%;
  margin: 0 auto;
  background: rgba(255,255,255,0.2);
  padding: 35px;
  border: 2px solid #fff;
  border-radius: 20px/50px;
  background-clip: padding-box;
  text-align: center;
}

.button {
  font-size: 1em;
  padding: 10px;
  color: #fff;
  border: 2px solid #06D85F;
  border-radius: 20px/50px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease-out;
}
.button:hover {
  background: #06D85F;
}

.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
}
.overlay:target {
  visibility: visible;
  opacity: 1;
}

.popup {
  margin: 70px auto;
  padding: 20px;
  background: #fff;
  border-radius: 5px;
  width: 30%;
  position: relative;
  transition: all 5s ease-in-out;
}

.popup h2 {
  margin-top: 0;
  color: #333;
  font-family: Tahoma, Arial, sans-serif;
}
.popup .close {
  position: absolute;
  top: 20px;
  right: 30px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}
.popup .close:hover {
  color: #06D85F;
}
.popup .content {
  max-height: 30%;
  overflow: auto;
}

@media screen and (max-width: 700px){
  .box{
    width: 70%;
  }
  .popup{
    width: 70%;
  }
}



