
/*** 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: 30px !important;
    bottom: 30px !important;
    z-index: 999 !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.back-to-top.hide {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Ensure proper spacing when WhatsApp button is present */
.whatsapp-fixed + .back-to-top,
.whatsapp-fixed ~ .back-to-top {
    bottom: 30px !important;
}

.whatsapp-fixed {
    position: fixed;
    right: 30px;
    bottom: 100px;
    z-index: 99;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #25D366 !important;
    border-color: #25D366 !important;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.whatsapp-fixed.hide-whatsapp {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.whatsapp-fixed.show-whatsapp {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    transition: all 0.3s ease;
}

.whatsapp-fixed:hover {
    background-color: #20BA5A !important;
    border-color: #20BA5A !important;
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.7);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.whatsapp-fixed i {
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .whatsapp-fixed {
        right: 20px;
        bottom: 90px;
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
    }
    
    .back-to-top {
        right: 20px !important;
        bottom: 20px !important;
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
    }
    
    .btn-search {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
    }
    
    /* Disable navbar hide on mobile for better UX */
    .nav-bar.hide-nav {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
}

/*** Premium Typography System ***/
h1, h2, h3, .h1, .h2, .h3 {
    font-weight: 600 !important;
    font-family: 'Playfair Display', serif !important;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h4, h5, h6, .h4, .h5, .h6 {
    font-weight: 600 !important;
    font-family: 'Open Sans', sans-serif !important;
    letter-spacing: -0.01em;
    line-height: 1.4;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.7;
    letter-spacing: 0.01em;
    color: var(--premium-text);
}

.display-1, .display-2, .display-3, .display-4, .display-5 {
    font-family: 'Playfair Display', serif !important;
    font-weight: 700 !important;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0.01em;
}

p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--premium-charcoal);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--premium-text-light);
    margin-bottom: 3rem;
}
.hero-section h1,
.hero-section .display-1,
.hero-section .display-2,
.hero-section .display-3,
.hero-section .display-4,
.hero-section .display-5 {
    text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.6), 0 2px 4px rgba(0, 0, 0, 0.4);
}

.hero-section .lead,
.hero-section p {
    text-shadow: 1px 2px 8px rgba(0, 0, 0, 0.5);
}

/*** Premium Typography System End ***/

/*** Premium Spacing System ***/
.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

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

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

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

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

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

/* Section spacing consistency */
.container-fluid.py-6,
.container-fluid.py-7,
.container-fluid.py-8 {
    position: relative;
}

/* Refined gap system */
.g-5 {
    --bs-gutter-x: 3rem;
    --bs-gutter-y: 3rem;
}

.g-6 {
    --bs-gutter-x: 4rem;
    --bs-gutter-y: 4rem;
}
@media (max-width: 991px) {
    .py-6, .py-7, .py-8 {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    
    .my-6, .my-7, .my-8 {
        margin-top: 3rem;
        margin-bottom: 3rem;
    }
    
    .g-5, .g-6 {
        --bs-gutter-x: 2rem;
        --bs-gutter-y: 2rem;
    }
}

@media (max-width: 768px) {
    .py-6, .py-7, .py-8 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .display-1 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
}
/*** Premium Spacing System End ***/

/*** Premium Micro-interactions ***/
.wow,
.animated {
    animation-duration: 1.2s !important;
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
    animation-fill-mode: both;
    animation-delay: 0s;
}

/* Staggered animations for better performance */
.wow[data-wow-delay="0.1s"] {
    animation-delay: 0.1s;
}

.wow[data-wow-delay="0.2s"] {
    animation-delay: 0.2s;
}

.wow[data-wow-delay="0.3s"] {
    animation-delay: 0.3s;
}

.wow[data-wow-delay="0.4s"] {
    animation-delay: 0.4s;
}

.wow[data-wow-delay="0.5s"] {
    animation-delay: 0.5s;
}

/* Only set will-change when animation is active */
.wow.animated {
    will-change: transform, opacity;
}

.wow.animated-complete {
    will-change: auto;
}

/* Reduce animations on low-end devices */
@media (prefers-reduced-motion: reduce) {
    .wow,
    .animated,
    .btn.btn-primary,
    .hero-section .carousel-indicators button.active,
    .roadmap-dot {
        animation: none !important;
    }
    
    * {
        transition: none !important;
    }
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Link hover effects */
a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Image hover effects */
img {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Input focus effects */
.form-control:focus,
.form-select:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(212, 165, 116, 0.25);
    transition: all 0.3s ease;
}

/* Icon animations */
i.fas,
i.fab,
i.far {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced Section fade-in on scroll */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.fade-in-up,
.fade-in-left,
.fade-in-right,
.scale-in {
    opacity: 0;
    animation-fill-mode: forwards;
}

.fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.fade-in-left {
    animation: fadeInLeft 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.fade-in-right {
    animation: fadeInRight 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.scale-in {
    animation: scaleIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Intersection Observer will trigger these animations */
.fade-in-up.animate,
.fade-in-left.animate,
.fade-in-right.animate,
.scale-in.animate {
    animation-play-state: running;
}

/* Section scroll visibility */
.section-visible {
    opacity: 1;
    transition: opacity 0.5s ease;
}

.section-hidden {
    opacity: 0.3;
    transition: opacity 0.5s ease;
}

/* Hover scale effect for interactive elements */
.interactive {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.interactive:hover {
    transform: scale(1.05);
}

/* Optimized transitions - only for interactive elements with staggered delays */
a, button, .btn {
    transition-property: color, background-color, border-color, transform, box-shadow, opacity;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 0.4s;
    transition-delay: 0s;
}

.card, .service-item, .founder-card, .roadmap-content {
    transition-property: color, background-color, border-color, transform, box-shadow, opacity;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 0.4s;
    transition-delay: 0.05s; /* Small delay for cards reduces simultaneous processing */
}

img {
    transition-property: transform, box-shadow, opacity;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 0.4s;
    transition-delay: 0s;
}

/* Only set will-change on hover */
a:hover, button:hover, .btn:hover, .card:hover, .service-item:hover, .founder-card:hover, .roadmap-content:hover, img:hover {
    will-change: transform;
    transition-delay: 0s; /* Remove delay on hover for instant feedback */
}

a:not(:hover), button:not(:hover), .btn:not(:hover), .card:not(:hover), .service-item:not(:hover), .founder-card:not(:hover), .roadmap-content:not(:hover), img:not(:hover) {
    will-change: auto;
}
/*** Premium Image Treatment ***/
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

img:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Lazy loading placeholder */
img[loading="lazy"] {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Image overlays for cards */
.image-overlay {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.image-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.image-overlay:hover::after {
    opacity: 1;
}

/* Rounded images */
.img-rounded {
    border-radius: 12px;
    overflow: hidden;
}

.img-circle {
    border-radius: 50%;
    overflow: hidden;
}

/* Image shadows */
.img-shadow-sm {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.img-shadow {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.img-shadow-lg {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* Product images */
.product-image {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-image:hover img {
    transform: scale(1.15) rotate(2deg);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0s; /* Instant on hover */
}
/*** Social Share Buttons ***/
.share,
.share-link,
.btn-md-square.rounded-circle {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
/*** Social Share Buttons End ***/

/*** Premium Image Treatment End ***/


/*** Premium Button Styles ***/
.btn.btn-primary {
    border: 0;
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--premium-gold-dark) 100%);
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 2rem;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn.btn-primary:hover::before {
    left: 100%;
}

.btn.btn-primary:hover {
    background: linear-gradient(135deg, var(--premium-gold-dark) 0%, var(--bs-primary) 100%) !important;
    color: #fff !important;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.6);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(212, 165, 116, 0.4);
}

.btn {
    font-weight: 600;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
}

.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 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: normal;
}

/* Ensure rounded-circle buttons are perfectly circular */
.btn.rounded-circle,
.btn-sm-square.rounded-circle,
.btn-md-square.rounded-circle,
.btn-lg-square.rounded-circle {
    border-radius: 50% !important;
    width: auto;
    height: auto;
}

.btn-sm-square.rounded-circle {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
}

.btn-md-square.rounded-circle {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
}

.btn-lg-square.rounded-circle {
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;
}
/*** Button End ***/


/*** Premium Navigation with Scroll Visibility ***/
.nav-bar {
    background: rgba(250, 250, 250, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, .08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.nav-bar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, .1);
}

.nav-bar.hide-nav {
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.nav-bar.show-nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.navbar .navbar-nav .nav-link {
    padding: 10px 16px;
    font-weight: 600;
    font-size: 16px;
    color: var(--premium-charcoal);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    letter-spacing: 0.3px;
}

.navbar .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--bs-primary), var(--premium-gold-dark));
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.navbar .navbar-nav .nav-link:hover::after,
.navbar .navbar-nav .nav-link.active::after {
    width: 80%;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
    transform: translateY(-2px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.btn-search {
    background: rgba(212, 165, 116, 0.1);
    border: 1px solid rgba(212, 165, 116, 0.3);
    color: var(--bs-primary);
    transition: all 0.3s ease;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.btn-search:hover {
    background: var(--bs-primary);
    color: #fff;
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 6px 18px rgba(212, 165, 116, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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


/*** Hero Start ***/
.hero-section {
    position: relative;
    min-height: 100vh;
    /* padding: 2rem 0; */
    display: flex;
    align-items: center;
}

.hero-section .carousel-item {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    transition: background-position 0.3s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.hero-section .carousel-item.active {
    will-change: background-position;
}

/* Optimize background images */
@media (max-width: 768px) {
    .hero-section .carousel-item {
        background-attachment: scroll;
        will-change: auto;
    }
}

.hero-section .carousel-inner {
    height: 100vh;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-section .row {
    min-height: 400px;
}

.hero-section .carousel-control-prev,
.hero-section .carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(212, 165, 116, 0.9);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
    z-index: 3;
}

.hero-section .carousel-control-prev {
    left: 30px;
}

.hero-section .carousel-control-next {
    right: 30px;
}

.hero-section .carousel-control-prev:hover,
.hero-section .carousel-control-next:hover {
    opacity: 1;
    background: rgba(212, 165, 116, 1);
    transform: translateY(-50%) scale(1.2) rotate(5deg);
    box-shadow: 0 6px 25px rgba(212, 165, 116, 0.6);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-section .carousel-indicators {
    margin-bottom: 40px;
    z-index: 3;
}

.hero-section .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    margin: 0 6px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.7;
}

.hero-section .carousel-indicators button:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-section .carousel-indicators button.active {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    width: 24px;
    height: 12px;
    border-radius: 6px;
    opacity: 1;
    box-shadow: 0 2px 8px rgba(212, 165, 116, 0.6);
}

.hero-section .carousel-fade .carousel-item {
    opacity: 0;
    transition-property: opacity;
    transform: none;
}

.hero-section .carousel-fade .carousel-item.active,
.hero-section .carousel-fade .carousel-item-next.carousel-item-start,
.hero-section .carousel-fade .carousel-item-prev.carousel-item-end {
    opacity: 1;
}

.hero-section .carousel-fade .active.carousel-item-start,
.hero-section .carousel-fade .active.carousel-item-end {
    opacity: 0;
}

/* Parallax effect enhancement */
.hero-section .carousel-item.active {
    will-change: background-position;
    transform: translateZ(0);
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
        padding: 1rem 0;
    }
    
    .hero-section .carousel-item {
        min-height: 80vh;
        background-attachment: scroll;
    }
    
    .hero-section .carousel-item.active {
        will-change: auto;
    }
    
    .hero-section .carousel-inner {
        height: 80vh;
    }
    
    .hero-section .carousel-control-prev,
    .hero-section .carousel-control-next {
        width: 45px;
        height: 45px;
        background: rgba(212, 165, 116, 0.85);
    }
    
    /* Disable parallax on mobile to save memory */
    .roadmap-section {
        background-attachment: scroll;
    }
    
    .roadmap-section.in-view {
        will-change: auto;
    }
    
    .roadmap-item {
        transform: none !important;
    }
    
    .hero-section .carousel-control-prev {
        left: 15px;
    }
    
    .hero-section .carousel-control-next {
        right: 15px;
    }
    
    .hero-section .row {
        min-height: 300px;
    }
}
/*** Hero 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(159, 167, 56, 0.7);
    border-radius: 8px;
    transition: 0.5s;
    opacity: 0;
    z-index: 1;
}

.event .event-img:hover .event-overlay {
    opacity: 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-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;
}
/*** Menu End ***/


/*** 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: 20px 20px;
}

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

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


/*** Premium Footer ***/
.footer {
    background: linear-gradient(135deg, #f8f8f8 0%, #f0f0f0 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer .footer-item h4,
.footer .footer-item h5 {
    color: var(--premium-charcoal);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.01em;
}

.footer .footer-item p,
.footer .footer-item a {
    color: var(--premium-text);
    line-height: 1.8;
    transition: all 0.3s ease;
}

.footer .footer-item a.text-body:hover {
    color: var(--bs-primary) !important;
    transform: translateX(4px);
    padding-left: 4px;
}

.footer .footer-item .social-links a,
.footer .footer-item .btn-sm-square.rounded-circle,
.footer .footer-item a.btn-sm-square.rounded-circle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    padding: 0 !important;
    background: rgba(212, 165, 116, 0.1);
    border-radius: 50% !important;
    color: var(--bs-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.footer .footer-item .social-links a:hover {
    background: var(--bs-primary);
    color: #fff;
    transform: translateY(-6px) scale(1.15) rotate(5deg);
    box-shadow: 0 6px 18px rgba(212, 165, 116, 0.5);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.copyright {
    background: var(--premium-charcoal) !important;
    color: rgba(255, 255, 255, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright a {
    color: var(--bs-primary);
    transition: all 0.3s ease;
}

.copyright a:hover {
    color: var(--premium-gold-light);
    text-decoration: underline;
}
/*** Premium Footer End ***/


/*** Founders Start ***/
.founder-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.founder-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0s; /* Instant on hover */
}

.founder-image {
    position: relative;
    display: inline-block;
}

.founder-image img {
    border: 5px solid var(--bs-primary);
    transition: all 0.3s ease;
}

.founder-card:hover .founder-image img {
    border-color: var(--bs-dark);
    transform: scale(1.08) rotate(2deg);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0s; /* Instant on hover */
}
/*** Founders End ***/


/*** Business Roadmap Start ***/
.roadmap-section {
    position: relative;
    overflow: hidden;
    background-image: url('../img/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    image-rendering: -webkit-optimize-contrast;
}

.roadmap-section.in-view {
    will-change: transform;
}

@media (max-width: 768px) {
    .roadmap-section {
        background-attachment: scroll;
        will-change: auto;
    }
}

.roadmap-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.5) 100%);
    background-attachment: fixed;
    z-index: 0;
    pointer-events: none;
}

.roadmap-section .container {
    position: relative;
    z-index: 1;
}

.roadmap-section h1,
.roadmap-section .lead {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.roadmap-container {
    padding: 2rem 0;
    position: relative;
}

.roadmap-line {
    z-index: 0;
    will-change: transform;
    transition: transform 0.3s ease-out;
    background: linear-gradient(to bottom, var(--bs-primary), var(--premium-gold-dark), var(--bs-primary)) !important;
    box-shadow: 0 0 20px rgba(212, 165, 116, 0.4);
}

.roadmap-item {
    margin-bottom: 3rem;
    z-index: 1;
    position: relative;
    will-change: transform;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.roadmap-content {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 4px solid var(--bs-primary);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.roadmap-item:hover .roadmap-content {
    transform: translateX(15px) scale(1.02);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.25) !important;
    border-left-color: var(--premium-gold-dark);
    border-left-width: 6px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0s; /* Instant on hover */
}

.roadmap-item:nth-child(even):hover .roadmap-content {
    transform: translateX(-15px) scale(1.02);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.25) !important;
    border-left-color: var(--premium-gold-dark);
    border-left-width: 6px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0s; /* Instant on hover */
}

.roadmap-icon {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--bs-primary);
    filter: drop-shadow(0 2px 4px rgba(212, 165, 116, 0.3));
}

.roadmap-item:hover .roadmap-icon {
    transform: scale(1.25) rotate(10deg);
    color: var(--premium-gold-dark);
    filter: drop-shadow(0 6px 12px rgba(212, 165, 116, 0.6));
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.roadmap-dot {
    z-index: 2;
    animation: pulse-dot 2.5s infinite;
    background: var(--bs-primary) !important;
    border: 3px solid #fff;
    box-shadow: 0 0 0 4px rgba(212, 165, 116, 0.3), 0 4px 12px rgba(212, 165, 116, 0.4);
    transition: all 0.4s ease;
    animation-play-state: paused;
}

.roadmap-section.in-view .roadmap-dot {
    animation-play-state: running;
}

/* Pause animations when section is not visible */
.roadmap-section:not(.in-view) .roadmap-dot {
    animation-play-state: paused;
}

.roadmap-dot:hover {
    animation: pulse-dot 1s infinite;
    transform: translateY(-50%) scale(1.3);
    box-shadow: 0 0 0 6px rgba(212, 165, 116, 0.5), 0 6px 18px rgba(212, 165, 116, 0.6);
}

@keyframes pulse-dot {
    0%, 100% {
        transform: translateY(-50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateY(-50%) scale(1.25);
        opacity: 0.9;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 25px rgba(212, 165, 116, 0.5);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Removed continuous pulse animations to reduce memory usage */
/* .btn.btn-primary {
    animation: pulse 3s ease-in-out infinite;
}

.hero-section .carousel-indicators button.active {
    animation: pulse 2s ease-in-out infinite;
} */

@media (max-width: 991px) {
    .roadmap-section {
        background-attachment: scroll;
    }
    
    .roadmap-section::before {
        background-attachment: scroll;
    }
    
    .roadmap-section.in-view {
        will-change: auto;
    }
    
    .roadmap-content {
        border-left: none;
        border-top: 4px solid var(--bs-primary);
    }
    
    .roadmap-item:hover .roadmap-content {
        transform: translateY(-5px);
    }
    
    /* Reduce parallax on tablets */
    .roadmap-item {
        transform: none !important;
    }
}
/*** Business Roadmap End ***/


/*** Premium Color System ***/
:root {
    --premium-gold: #D4A574;
    --premium-gold-light: #E8C9A0;
    --premium-gold-dark: #B8935A;
    --premium-charcoal: #1A1A1A;
    --premium-charcoal-light: #2C2C2C;
    --premium-bg: #FAFAFA;
    --premium-bg-light: #F5F5F5;
    --premium-text: #333333;
    --premium-text-light: #666666;
}
/*** Premium Color System End ***/


/*** Premium Card Elevation System ***/
.premium-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.premium-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0s; /* Instant on hover */
}

.card-elevation-1 {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.card-elevation-2 {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.card-elevation-3 {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.card-elevation-4 {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.service-item,
.founder-card,
.roadmap-content {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-item:hover,
.founder-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(212, 165, 116, 0.5);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0s; /* Instant on hover */
}

.roadmap-content {
    background: #fff;
    border-left: 4px solid var(--bs-primary);
    padding: 2rem;
    border-radius: 8px;
}

.roadmap-content:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
/*** Premium Card Elevation System End ***/


/*** About Section Premium Styling ***/
.about-section {
    position: relative;
}

.about-section .row {
    align-items: flex-start;
}

.about-section .col-lg-5 {
    display: flex;
    align-items: flex-start;
}

.about-section .col-lg-5 img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-section .col-lg-5 img:hover {
    transform: scale(1.05) rotate(1deg);
    box-shadow: 0 16px 56px rgba(0, 0, 0, 0.25);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0s; /* Instant on hover */
}

.about-section .col-lg-7 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-left: 2rem;
}

.about-section h1 {
    margin-bottom: 1.5rem;
    color: var(--premium-charcoal);
}

.about-section p {
    color: var(--premium-text);
    margin-bottom: 1.5rem;
}

.about-section .row.g-4 {
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.about-section .row.g-4 i {
    color: var(--bs-primary);
    font-size: 1.1rem;
}

@media (max-width: 991px) {
    .about-section .row {
        align-items: center;
    }
    
    .about-section .col-lg-5 img {
        margin-bottom: 2rem;
    }
    
    .about-section .col-lg-7 {
        padding-left: 0;
    }
}
/*** About Section Premium Styling End ***/





