/* Hero Carousel Component Styles */
:root {
    --hero-carousel-bg1: #04104a;
    --hero-carousel-bg2: #08123f;
    --hero-carousel-accent: var(--theme-color, #7b4df5);
    --hero-carousel-accent-light: color-mix(in srgb, var(--theme-color, #7b4df5) 70%, white 30%);
    --hero-carousel-text-white: #ffffff;
    --hero-carousel-text-secondary: rgba(255, 255, 255, 0.9);
    --hero-carousel-text-tertiary: rgba(255, 255, 255, 0.6);
    --hero-carousel-anim: 900ms;
    --hero-carousel-anim-fast: 300ms;
    --hero-carousel-shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.35);
    --hero-carousel-shadow-sharp: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* Reset for component */
.hero-carousel *,
.hero-carousel *::before,
.hero-carousel *::after {
    box-sizing: border-box;
}

/* Accessibility */
.hero-carousel-skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--hero-carousel-accent);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
    font-weight: 600;
    transition: top 0.3s;
}

.hero-carousel-skip-link:focus {
    top: 6px;
}

.hero-carousel__sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Loading State */
.hero-carousel-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--hero-carousel-bg1) 0%, var(--hero-carousel-bg2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: opacity var(--hero-carousel-anim-fast);
}

.hero-carousel-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--hero-carousel-accent);
    border-radius: 50%;
    animation: heroCarouselSpin 1s linear infinite;
}

@keyframes heroCarouselSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-carousel__error {
    color: var(--hero-carousel-text-white);
    text-align: center;
    font-size: 1.125rem;
    padding: 2rem;
}

/* Main Component Layout */
.hero-carousel {
    position: relative;
    min-height: 70vh;
    background: linear-gradient(135deg, var(--hero-carousel-bg1) 0%, var(--hero-carousel-bg2) 100%);
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 2rem;
    align-items: center;
    padding: 0rem;
    padding-left: 2rem;
    overflow: hidden;
}
.hero-carousel__description{
    text-align: justify !important;
}
@media screen and (max-width: 767px){
    .hero-carousel {
        min-height: 50vh;
    }
}
.hero-carousel--bg-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Content Area */
.hero-carousel__content {
    padding: 2rem 1rem;
    color: var(--hero-carousel-text-white);
    max-width: 100%;
    z-index: 2;
}

.hero-carousel__text-area {
    position: relative;
    min-height: 55vh;
    overflow: hidden;
    margin-bottom: 1.5rem;
}
@media screen and (max-width: 767px){
    .hero-carousel__text-area {
    /* position: relative; */
    min-height: 25vh;}
}
.hero-carousel__text-block {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    opacity: 0;
}

/* Typography */
.hero-carousel__title {
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 1rem;
    font-size: clamp(2rem, 6vw, 4rem);
    letter-spacing: -0.02em;
    color: var(--hero-carousel-text-white);
    background: linear-gradient(135deg, var(--hero-carousel-text-white) 0%, rgba(255, 255, 255, 0.8) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-carousel__description {
    margin: 0;
    color: var(--hero-carousel-text-secondary);
    max-width: 70ch;
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    line-height: 1.7;
}

/* CTA Section */
.hero-carousel__cta-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.hero-carousel__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--hero-carousel-accent-light) 0%, var(--hero-carousel-accent) 100%);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: var(--hero-carousel-shadow-soft);
    transition: all var(--hero-carousel-anim-fast) cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.hero-carousel__cta::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.6s;
}

.hero-carousel__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.hero-carousel__cta:hover::before {
    left: 100%;
}

.hero-carousel__cta:active {
    transform: translateY(0);
}

.hero-carousel__note {
    font-size: 0.875rem;
    color: var(--hero-carousel-text-tertiary);
}

/* Navigation */
.hero-carousel__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.hero-carousel__tabs {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.hero-carousel__tab-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: none;
    color: var(--hero-carousel-text-secondary);
    padding: 0.5rem 0.25rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9375rem;
    position: relative;
    white-space: nowrap;
    outline: none;
    transition: all var(--hero-carousel-anim-fast) ease;
    border-radius: 0.5rem;
}

.hero-carousel__tab-btn:focus-visible {
    outline: 2px solid var(--hero-carousel-accent);
    outline-offset: 2px;
}

.hero-carousel__dash {
    width: 28px;
    height: 4px;
    border-radius: 3px;
    background: rgba(233, 226, 226, 0.3);
    transition: all var(--hero-carousel-anim-fast) cubic-bezier(0.4, 0, 0.2, 1);
    flex: 0 0 auto;
}

.hero-carousel__label {
    display: inline-block;
    transition: color var(--hero-carousel-anim-fast);
}

.hero-carousel__tab-btn:hover .hero-carousel__dash {
    background: rgba(255, 255, 255, 0.8);
    transform: scaleX(1.1);
}

.hero-carousel__tab-btn:hover {
    color: var(--hero-carousel-text-white);
}

.hero-carousel__tab-btn--active {
    color: var(--hero-carousel-text-white);
}

.hero-carousel__tab-btn--active .hero-carousel__dash {
    background: var(--hero-carousel-text-white);
    transform: scaleX(1.2);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
}

/* Progress Bar */
.hero-carousel__progress-container {
    width: 120px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-left: auto;
}

.hero-carousel__progress-bar {
    height: 100%;
    background: var(--hero-carousel-accent);
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s ease;
}

/* Controls */
.hero-carousel__controls {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.hero-carousel__control-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--hero-carousel-text-white);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    transition: all var(--hero-carousel-anim-fast);
    backdrop-filter: blur(10px);
}

.hero-carousel__control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.hero-carousel__control-btn:focus-visible {
    outline: 2px solid var(--hero-carousel-accent);
    outline-offset: 2px;
}

/* Media Area */
.hero-carousel__media {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
}

.hero-carousel__media-container {
    position: relative;
    width: 130%;
    height: 600px;
    border-radius: 0.5rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-carousel__touch-area {
    width: 100%;
    height: 100%;
    position: relative;
    cursor: grab;
    user-select: none;
}

.hero-carousel__touch-area:active {
    cursor: grabbing;
}

.hero-carousel__image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    /* clip-path: polygon(100% 0, 100% 100%, 24% 50%); */
    clip-path: polygon(
  0% 50%,     /* Triangle tip (left center) */
  30% 0%,     /* Top corner of rectangle */
  100% 0%,    /* Top-right */
  100% 100%,  /* Bottom-right */
  30% 100%    /* Bottom-left corner of rectangle */
);


    background: linear-gradient(145deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    border-radius: 0.5rem;
}

/* Slides */
.hero-carousel__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    opacity: 0;
    transform: translateX(40px) scale(1.02);
    transition: transform var(--hero-carousel-anim) cubic-bezier(0.2, 0.9, 0.2, 1),
                opacity var(--hero-carousel-anim) ease,
                filter var(--hero-carousel-anim) ease;
    filter: none;
    will-change: transform, opacity, filter;
    pointer-events: none;
}

.hero-carousel__slide--show {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: auto;
}

.hero-carousel__slide--exit-left {
    opacity: 0;
    transform: translateX(-40px) scale(0.98);
}

.hero-carousel__slide--exit-right {
    opacity: 0;
    transform: translateX(40px) scale(0.98);
}

.hero-carousel__slide--blurred {
    filter: blur(12px) brightness(0.8) saturate(0.9);
    -webkit-filter: blur(12px) brightness(0.8) saturate(0.9);
    transform: translateX(0) scale(1.03);
}

/* Navigation Arrows */
.hero-carousel__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--hero-carousel-anim-fast);
    backdrop-filter: blur(10px);
    z-index: 3;
    opacity: 0;
}

.hero-carousel__media:hover .hero-carousel__arrow {
    opacity: 1;
}

.hero-carousel__arrow--prev {
    left: 1.5rem;
}

.hero-carousel__arrow--next {
    right: 1.5rem;
}

.hero-carousel__arrow:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(-50%) scale(1.1);
}

.hero-carousel__arrow:focus-visible {
    outline: 2px solid var(--hero-carousel-accent);
    outline-offset: 2px;
    opacity: 1;
}

/* Caption */
.hero-carousel__caption {
    position: absolute;
    left: 1.5rem;
    bottom: 2rem;
    background: rgba(2, 10, 30, 0.6);
    backdrop-filter: blur(8px);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    color: var(--hero-carousel-text-white);
    font-weight: 600;
    font-size: 0.875rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 2;
}

/* Mobile Indicators */
.hero-carousel__mobile-indicators {
    display: none;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.5rem;
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.hero-carousel__mobile-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all var(--hero-carousel-anim-fast);
}

.hero-carousel__mobile-indicator--active {
    background: var(--hero-carousel-accent);
    box-shadow: 0 0 12px color-mix(in srgb, var(--hero-carousel-accent) 50%, transparent);
}

/* Text Animations */
.hero-carousel__text--in-up {
    animation: heroCarouselTextInUp var(--hero-carousel-anim) cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.hero-carousel__text--out-down {
    animation: heroCarouselTextOutDown var(--hero-carousel-anim-fast) cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.hero-carousel__text--in-down {
    animation: heroCarouselTextInDown var(--hero-carousel-anim) cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.hero-carousel__text--out-up {
    animation: heroCarouselTextOutUp var(--hero-carousel-anim-fast) cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

@keyframes heroCarouselTextInUp {
    from {
        transform: translateY(36px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes heroCarouselTextOutDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(24px);
        opacity: 0;
    }
}

@keyframes heroCarouselTextInDown {
    from {
        transform: translateY(-36px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes heroCarouselTextOutUp {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-24px);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-carousel {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .hero-carousel__media {
        display: none;
    }
    
    .hero-carousel__nav {
        justify-content: flex-start;
    }
    
    .hero-carousel__progress-container {
        width: 80px;
    }
    
    .hero-carousel__mobile-indicators {
        display: flex;
    }
    
    html, body {
        overflow-y: hidden;
    }
    
    .hero-carousel__content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-carousel__tab-btn {
        padding: 0.5rem;
    }
    
    .hero-carousel__tab-btn .hero-carousel__label {
        display: none;
    }
    
    .hero-carousel__tab-btn .hero-carousel__dash {
        width: 40px;
        height: 6px;
    }
    
    .hero-carousel__tabs {
        gap: 1rem;
    }
    
    .hero-carousel__note {
        display: none;
    }
    
    .hero-carousel__cta-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .hero-carousel__controls {
        align-self: flex-end;
    }
}

@media (max-width: 480px) {
    .hero-carousel {
        padding: 1rem;
    }
    
    .hero-carousel__content {
        padding: 0.5rem;
    }
    
    .hero-carousel__title {
        font-size: clamp(1.5rem, 8vw, 2.25rem);
    }
    
    .hero-carousel__description {
        font-size: 0.875rem;
    }
    
    .hero-carousel__cta {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .hero-carousel__tabs {
        gap: 0.5rem;
    }
    
    .hero-carousel__tab-btn .hero-carousel__dash {
        width: 32px;
        height: 5px;
    }
    
    .hero-carousel__mobile-indicators {
        bottom: 1rem;
    }
    
    .hero-carousel__mobile-indicator {
        width: 10px;
        height: 10px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .hero-carousel * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-carousel__slide {
        transition: opacity 0.3s ease;
    }
    
    .hero-carousel__text-block {
        animation: none !important;
    }
}

/* High Contrast */
@media (prefers-contrast: high) {
    .hero-carousel {
        --hero-carousel-text-white: #ffffff;
        --hero-carousel-text-secondary: #ffffff;
        --hero-carousel-accent: #00ff00;
    }
    
    .hero-carousel__cta {
        border: 2px solid #ffffff;
    }
    
    .hero-carousel__tab-btn:focus-visible,
    .hero-carousel__control-btn:focus-visible,
    .hero-carousel__arrow:focus-visible {
        outline: 3px solid #ffffff;
    }
}

.hero-carousel__arrow{
    display: none !important;
}
.img-box1 .shape1{
    display: none !important;
}
.hero-carousel__label,
.hero-carousel__progress-container,
.hero-carousel__progress-bar,
.hero-carousel__caption,
.hero-carousel__controls,
.hero-carousel-skip-link,
.hero-carousel__note{
    display: none !important;
}


.blog-meta{
    text-align: justify !important;
}

body{
    overflow-y: scroll !important;
}
@media screen and (max-width: 767px){

/* EMERGENCY SCROLL FIX - Add this to your CSS */
html, body {
    height: auto !important;
    min-height: 100vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    position: relative !important;
}

/* Remove any scroll blocking */
* {
    touch-action: auto !important;
    pointer-events: auto !important;
}

/* Fix common container issues */
.container, .wrapper, .elementor-section, main {
    overflow: visible !important;
    position: relative !important;
    height: auto !important;
}
}
.hero-carousel__cta{
    display: none;
}

@media (min-width: 1024px) {
  /* Your desktop-specific styles go here */
  .hero-carousel{
    min-height: unset !important;
    height: 550px !important;
  }
  .hero-carousel__text-area{
    min-height: unset !important;
    height: 350px !important;
  }
}