/* Enhanced Hero Section Styling */

/* Hero Area Base */
.hero-area {
    position: relative;
    height: calc(100vh - 120px); /* Full viewport minus header height */
    max-height: none;
    overflow: hidden;
    background: linear-gradient(135deg, #5aa83a 0%, #38B1DE 100%);
    margin-bottom: 0;
    margin-top: 0; /* Remove negative margin */
    padding-top: 0; /* Remove extra padding */
}

/* Smooth transition to next section */
.hero-area::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.1));
    z-index: 5;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: bounce 2s infinite;
    cursor: pointer;
}

.scroll-indicator .scroll-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    margin-bottom: 5px;
    font-weight: 500;
}

.scroll-indicator .scroll-arrow {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Enhanced Slider Container */
.slider-active {
    position: relative;
    height: 100%; /* Full height of hero area */
    max-height: none;
    overflow: hidden;
}

.swiper-slide {
    position: relative;
    height: 100%; /* Full height of slider container */
    max-height: none;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.swiper-slide:hover {
    transform: scale(1.02);
}

.swiper-slide:hover .overlay-slider {
    /* background: linear-gradient(
        135deg,
        rgba(90, 168, 58, 0.75) 0%,
        rgba(56, 177, 222, 0.75) 50%,
        rgba(0, 0, 0, 0.6) 100%
    ); */
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s ease-in-out, filter 0.3s ease;
}

.swiper-slide-active img {
    transform: scale(1.1);
}

.swiper-slide:hover img {
    transform: scale(1.15);
    filter: brightness(1.1) contrast(1.05);
}

/* Enhanced Overlay with Gradient */
.overlay-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}
/* .swiper-slide img:hover {
    filter: brightness(1.1) contrast(1.05) !important;
}  */

/* .how-it-works-area {
    background-image: url('../img/banner/how-banner.png'); 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat; 
}
.how-it-works-area .section-title h2 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
} */

/* Animated Background Particles */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(odd) {
    background: rgba(90, 168, 58, 0.8);
    animation-duration: 8s;
}

.particle:nth-child(even) {
    background: rgba(56, 177, 222, 0.6);
    animation-duration: 10s;
}

/* Hero Content Container */
.hero-content-wrapper {
    position: relative;
    z-index: 15;
    text-align: center;
    max-width: 1000px;
    padding: 0 20px;
    animation: fadeInUp 1.5s ease-out;
}

/* Enhanced Typography */
.hero-main-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: slideInFromLeft 1.2s ease-out 0.3s both;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    font-weight: 300;
    line-height: 1.6;
    animation: slideInFromRight 1.2s ease-out 0.6s both;
}

.hero-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    animation: fadeIn 1.5s ease-out 0.9s both;
}

/* Enhanced CTA Buttons */
.hero-cta-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: slideInFromBottom 1.2s ease-out 1.2s both;
}

.hero-btn-primary {
    background: linear-gradient(135deg, #5aa83a 0%, #4a9632 100%);
    color: #ffffff;
    padding: 12px 28px;
    border: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.4s ease;
    box-shadow: 0 6px 20px rgba(90, 168, 58, 0.3);
    position: relative;
    overflow: hidden;
}

.hero-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.6s ease;
}

.hero-btn-primary:hover::before {
    left: 100%;
}

.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(90, 168, 58, 0.4);
}

.hero-btn-secondary {
    background: transparent;
    color: #ffffff;
    padding: 12px 28px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.hero-btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: width 0.4s ease;
    z-index: -1;
}

.hero-btn-secondary:hover::before {
    width: 100%;
}

.hero-btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* Service Cards Preview */
.hero-services-preview {
    position: absolute;
    bottom: 20px;
    left: 60%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
    animation: slideInFromBottom 1.5s ease-out 1.5s both;
}

.hero-service-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 12px 16px;
    text-align: center;
    min-width: 100px;
    transition: all 0.4s ease;
    cursor: pointer;
}

.hero-service-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.hero-service-icon {
    width: 35px;
    height: 35px;
    margin: 0 auto 8px;
    background: linear-gradient(135deg, #5aa83a, #38B1DE);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.hero-service-title {
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}

/* Enhanced Pagination */
.slider-swiper-paginations {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.slider-swiper-paginations .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.slider-swiper-paginations .swiper-pagination-bullet::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: transparent;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.slider-swiper-paginations .swiper-pagination-bullet-active {
    background: #5aa83a;
    transform: scale(1.2);
}

.slider-swiper-paginations .swiper-pagination-bullet-active::before {
    background: rgba(255, 255, 255, 0.8);
}

/* Floating Elements */
.hero-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 8;
    pointer-events: none;
}

.floating-shape {
    position: absolute;
    opacity: 0.1;
    animation: floatShape 15s ease-in-out infinite;
}

.floating-shape.shape-1 {
    top: 10%;
    left: 10%;
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #5aa83a, #38B1DE);
    border-radius: 50%;
    animation-delay: 0s;
}

.floating-shape.shape-2 {
    top: 20%;
    right: 15%;
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #38B1DE, #2a8cc7);
    border-radius: 20px;
    animation-delay: 3s;
}

.floating-shape.shape-3 {
    bottom: 30%;
    left: 20%;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #5aa83a, #4a9632);
    border-radius: 50%;
    animation-delay: 6s;
}

/* Slide-specific Content */
.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 15;
    text-align: center;
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
    transition: all 0.3s ease;
}

.swiper-slide:hover .slide-content {
    transform: translate(-50%, -50%) translateY(-10px);
}

.slide-content h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: slideInFromTop 1s ease-out;
    transition: all 0.3s ease;
}

.swiper-slide:hover .slide-content h2 {
    text-shadow: 0 6px 30px rgba(0, 0, 0, 0.7);
    transform: scale(1.05);
}

.slide-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.8rem;
    line-height: 1.5;
    animation: fadeIn 1.2s ease-out 0.3s both;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease;
}

.swiper-slide:hover .slide-content p {
    color: rgba(255, 255, 255, 1);
    transform: scale(1.02);
}

/* Remove click indicator completely */
.swiper-slide::after {
    display: none;
}

.swiper-slide:hover::after {
    display: none;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(120deg);
    }
    66% {
        transform: translateY(10px) rotate(240deg);
    }
}

@keyframes floatShape {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-30px) rotate(90deg);
    }
    50% {
        transform: translateY(20px) rotate(180deg);
    }
    75% {
        transform: translateY(-10px) rotate(270deg);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-main-title {
        font-size: 2.8rem;
    }
    
    .slide-content h2 {
        font-size: 2.4rem;
    }
    
    .hero-services-preview {
        gap: 10px;
    }
    
    .hero-service-card {
        min-width: 90px;
        padding: 10px 12px;
    }
    
    .hero-service-icon {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
}

@media (max-width: 992px) {
    .hero-area {
        height: calc(100vh - 100px); /* Full viewport minus smaller header */
        max-height: none;
        margin-top: 0; /* Keep header visible */
        padding-top: 0; /* No extra padding needed */
    }
    
    .slider-active, .swiper-slide {
        height: 100%; /* Full height of hero area */
        max-height: none;
    }
    
    .hero-main-title {
        font-size: 2.4rem;
    }
    
    .slide-content h2 {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .hero-services-preview {
        bottom: 10px;
        gap: 8px;
    }
    
    .hero-service-card {
        min-width: 80px;
        padding: 8px 10px;
    }
    
    .hero-service-icon {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }
    
    .hero-service-title {
        font-size: 0.7rem;
    }
    
    .floating-shape {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-area {
        height: calc(100vh - 80px); /* Full viewport minus mobile header */
        max-height: none;
        margin-top: 0; /* Keep header visible */
        padding-top: 0; /* No extra padding needed */
    }
    
    .slider-active, .swiper-slide {
        height: 100%; /* Full height of hero area */
        max-height: none;
    }
    
    .hero-main-title {
        font-size: 2.2rem;
    }
    
    .slide-content h2 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .slide-content p {
        font-size: 0.95rem;
    }
    
    .hero-cta-container {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-btn-primary,
    .hero-btn-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    
    .hero-services-preview {
        display: none;
    }
    
    .scroll-indicator {
        bottom: 15px;
    }
    
    .scroll-indicator .scroll-text {
        font-size: 0.7rem;
    }
    
    .scroll-indicator .scroll-arrow {
        width: 16px;
        height: 16px;
    }
    
    .hero-particles .particle {
        width: 3px;
        height: 3px;
    }
    
    /* Mobile Navigation Buttons */
    .hero-button-prev,
    .hero-button-next {
        width: 40px;
        height: 40px;
    }
    
    .hero-button-prev {
        left: 10px;
    }
    
    .hero-button-next {
        right: 10px;
    }
    
    .hero-button-prev::after {
        border-width: 6px 9px 6px 0;
    }
    
    .hero-button-next::after {
        border-width: 6px 0 6px 9px;
    }
    
    /* Reduce hover effects on mobile - use touch instead */
    .swiper-slide:hover {
        transform: none;
    }
    
    .swiper-slide:active {
        transform: scale(0.98);
    }
}

@media (max-width: 576px) {
    .hero-area {
        height: calc(100vh - 70px); /* Full viewport minus small mobile header */
        max-height: none;
        margin-top: 0; /* Keep header visible */
        padding-top: 0; /* No extra padding needed */
    }
    
    .slider-active, .swiper-slide {
        height: 100%; /* Full height of hero area */
        max-height: none;
    }
    
    .hero-main-title {
        font-size: 1.6rem;
    }
    
    .slide-content h2 {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
    }
    
    .slide-content p {
        font-size: 0.8rem;
        margin-bottom: 1.2rem;
    }
    
    .hero-description {
        margin-bottom: 1.5rem;
    }
    
    .hero-cta-container {
        flex-direction: column;
        gap: 0.6rem;
    }
    
    .hero-btn-primary,
    .hero-btn-secondary {
        padding: 8px 16px;
        font-size: 0.8rem;
        width: 100%;
        max-width: 200px;
    }
    
    .slider-swiper-paginations {
        bottom: 10px;
        gap: 8px;
    }
}

/* Custom Slide Animations */
.swiper-slide-active .slide-content h2 {
    animation: slideInFromTop 1s ease-out;
}

.swiper-slide-active .slide-content p {
    animation: fadeIn 1.2s ease-out 0.3s both;
}

.swiper-slide-active .slide-content .hero-btn-primary {
    animation: bounceIn 1s ease-out 0.6s both;
}

/* Enhanced Hover Effects */
.overlay-slider:hover .hero-particles .particle {
    animation-duration: 4s;
}

/* Loading Animation */
.hero-area.loading {
    opacity: 0;
    animation: fadeIn 1s ease-out 0.5s both;
}

/* Hero Navigation Buttons */
.hero-button-prev,
.hero-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.hero-button-prev::after,
.hero-button-next::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    transition: all 0.3s ease;
}

.hero-button-prev::after {
    border-width: 8px 12px 8px 0;
    border-color: transparent rgba(255, 255, 255, 0.8) transparent transparent;
    margin-left: -2px;
}

.hero-button-next::after {
    border-width: 8px 0 8px 12px;
    border-color: transparent transparent transparent rgba(255, 255, 255, 0.8);
    margin-right: -2px;
}

.hero-button-prev:hover,
.hero-button-next:hover {
    background: rgba(90, 168, 58, 0.8);
    border-color: rgba(90, 168, 58, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.hero-button-prev:hover::after {
    border-color: transparent white transparent transparent;
}

.hero-button-next:hover::after {
    border-color: transparent transparent transparent white;
}

.hero-button-prev {
    left: 20px;
}

.hero-button-next {
    right: 20px;
}

/* Remove all slide-specific color themes */
/* .swiper-slide[data-page="broking.php"] .overlay-slider,
.swiper-slide[data-page="mutual-funds.php"] .overlay-slider,
.swiper-slide[data-page="insurance.php"] .overlay-slider,
.swiper-slide[data-page="wealth.php"] .overlay-slider {
    background: none;
}

.swiper-slide[data-page="broking.php"]:hover .overlay-slider,
.swiper-slide[data-page="mutual-funds.php"]:hover .overlay-slider,
.swiper-slide[data-page="insurance.php"]:hover .overlay-slider,
.swiper-slide[data-page="wealth.php"]:hover .overlay-slider {
    background: none;
} */