fieldset {
    min-width: 0;
    padding: 10px 10px 0px;
    margin: 10px 0px;
    border: 1px solid silver;
    border-radius: 4px;
}

.error_msg {
    color: red;
}

fieldset legend {
    display: block;
    width: auto;
    padding: 0;
    margin-bottom: 0px;
    font-size: 14px;
    line-height: inherit;
    color: silver;
    border: 0;
}

/*.btn {*/
/*    background-color: #56328c;*/
/*    color: white;*/
/*}*/

.required-label::after {
    color: red;
    content: "*";
}

table {
    font-size: 13px;
}

/*.table thead tr th{
  background-color: #56328c;
  color: white;
}*/

.item input,
.item textarea {
    -webkit-transition: 0.2s;
    -moz-transition: 0.2s;
    transition: 0.2s;
}

.bad input,
.bad select,
.bad textarea {
    border: 1px solid #ce5454 !important;
    box-shadow: 0 0 4px -2px #ce5454 !important;
    -moz-animation: 0.7s 1 shake linear;
    -webkit-animation: 0.7s 1 shake linear;
}

@keyframes shake {
    15% {
        transform: translateX(-5px);
    }
    30% {
        transform: translateX(5px);
    }
    45% {
        transform: translateX(-3px);
    }
    60% {
        transform: translateX(3px);
    }
    75% {
        transform: translateX(2px);
    }
    100% {
        transform: none;
    }
}

@-webkit-keyframes shake {
    25% {
        -webkit-transform: translateX(-6px);
    }
    75% {
        -webkit-transform: translateX(6px);
    }
}

.bad .select2-selection__rendered {
    border: 1px solid #f00;
    box-shadow: 0 0 4px -2px #f00;
    -moz-animation: 0.7s 1 shake linear;
    -webkit-animation: 0.7s 1 shake linear;
}

.eq-section .select2-container--default .select2-selection--single:hover {
    border: 1px solid #016838 !important;
}

.select2-container--default.select2-container--focus
    .select2-selection--multiple,
.select2-container--default .select2-search--dropdown .select2-search__field,
.eq-section .select2-container--default .select2-selection--single:focus {
    border-color: #016838 !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075),
        0 0 5px rgba(1, 104, 56, 0.3) !important;
    outline: none !important;
}

.select2-container--default.select2-container--focus
    .select2-selection--multiple,
.select2-container--default
    .select2-search--dropdown
    .select2-search__field
    > .eq-section
    .select2-container--default
    .select2-selection--single {
    border-color: #016838 !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075),
        0 0 5px rgba(1, 104, 56, 0.3) !important;
    outline: none !important;
}

#loader {
    display: none;
}

#loader.show {
    display: block;
    position: fixed;
    z-index: 100000;
    background-image: url("loader.gif");
    background-color: #666;
    opacity: 0.8;
    background-repeat: no-repeat;
    background-position: center;
    left: 0;
    bottom: 0;
    right: 0;
    top: 0;
    background-size: 18vh;
}

.dataTables_processing {
    z-index: 11000 !important;
    background-color: #016838 !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: bold;
    border: 2px solid #8bc43f;
    box-shadow: 3px 5px 4px 1px rgba(1, 104, 56, 0.3);
}

/* ========================================
   Modern Design Enhancements - FinVest Nepal
   Brand Colors: #016838 (Dark Green), #8bc43f (Light Green)
   ======================================== */

/* Smooth scrollbar styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #016838 0%, #8bc43f 100%);
    border-radius: 10px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #024d2a 0%, #6fb84e 100%);
}

/* Modern Card Hover Effects */
.card,
.choose-item,
.offer-item,
.feature-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover,
.choose-item:hover,
.offer-item:hover,
.feature-item:hover {
    transform: translateY(-5px);
}

/* Enhanced Button Ripple Effect */
.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::after {
    width: 300px;
    height: 300px;
}

/* Modern Shadow Effects */
.shadow-modern {
    box-shadow: 0 10px 30px rgba(1, 104, 56, 0.1);
}

.shadow-modern:hover {
    box-shadow: 0 15px 40px rgba(1, 104, 56, 0.2);
}

/* Professional Input Focus States */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    border-color: #016838 !important;
    box-shadow: 0 0 0 3px rgba(1, 104, 56, 0.1) !important;
    outline: none;
}

/* Pulse Animation for Important CTAs */
@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(1, 104, 56, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(1, 104, 56, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(1, 104, 56, 0);
    }
}

.pulse-cta {
    animation: pulse-green 2s infinite;
}

/* Modern Badges */
.badge-success,
.badge-primary {
    background: linear-gradient(135deg, #016838 0%, #8bc43f 100%);
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    color: #ffffff;
}

/* Professional Hover State for Images */
img {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.hover-zoom:hover img {
    transform: scale(1.05);
}

/* Smooth Page Transitions */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Modern Loading States */
.loading-skeleton {
    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;
    }
}

/* Professional Dividers */
.divider-green {
    height: 3px;
    background: linear-gradient(90deg, #016838 0%, #8bc43f 100%);
    border: none;
    border-radius: 2px;
}

/* Modern Focus States */
*:focus-visible {
    outline: 2px solid #016838;
    outline-offset: 2px;
}

/* Modern Glass Morphism Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Enhanced Alert Styling */
.alert-success {
    background: linear-gradient(
        135deg,
        rgba(1, 104, 56, 0.1) 0%,
        rgba(139, 196, 63, 0.1) 100%
    );
    border-left: 4px solid #016838;
}

/* Modern Navigation Active States */
.nav-link.active,
.menu li a.active {
    color: #016838 !important;
    font-weight: 600;
    position: relative;
}

.nav-link.active::after,
.menu li a.active::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #016838 0%, #8bc43f 100%);
    border-radius: 2px;
}

/* Modern Grid Layouts */
.modern-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Professional Animation Delays */
.animate-delay-1 {
    animation-delay: 0.1s;
}

.animate-delay-2 {
    animation-delay: 0.2s;
}

.animate-delay-3 {
    animation-delay: 0.3s;
}

/* Responsive Spacing */
.section-padding {
    padding: 100px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
}

/* ========================================
   Modern Home Page Animations & Effects
   ======================================== */

/* Floating Animation for Images */
@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Bounce Animation for Scroll Indicator */
@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* Enhanced Card Hover Effects */
.choose-item:hover,
.feature-item:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 20px 50px rgba(1, 104, 56, 0.2) !important;
}

.choose-item:hover img {
    transform: scale(1.1);
}

/* Smooth Section Backgrounds */
.section-md-bg {
    position: relative;
    overflow: hidden;
}

.section-md-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(139, 196, 63, 0.03) 0%,
        transparent 100%
    );
    z-index: 0;
}

/* Enhanced Button Styles for Home Page */
.btn-success:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 35px rgba(1, 104, 56, 0.4) !important;
}

.btn-finterest {
    background: linear-gradient(135deg, #016838 0%, #8bc43f 100%);
    color: white !important;
    border: none;
    transition: all 0.3s ease;
}

.btn-finterest:hover {
    background: linear-gradient(135deg, #024d2a 0%, #6fb84e 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(1, 104, 56, 0.3);
}

/* Professional Section Headers */
.section-title {
    position: relative;
    display: inline-block;
}

.section-subtitle {
    display: inline-block;
    font-weight: 600;
    text-transform: uppercase;
}

/* Modern Lead Text */
.lead {
    font-weight: 400;
}

/* Testimonial Slider Enhancements */
.testimonial-slider .owl-nav button {
    background: white !important;
    border: 2px solid #016838 !important;
    color: #016838 !important;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px !important;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(1, 104, 56, 0.2);
}

.testimonial-slider .owl-nav button:hover {
    background: #016838 !important;
    color: white !important;
    transform: scale(1.1);
}

.testimonial-slider .owl-dots .owl-dot span {
    background: #e0e0e0;
    width: 12px;
    height: 12px;
    margin: 5px;
    transition: all 0.3s ease;
}

.testimonial-slider .owl-dots .owl-dot.active span {
    background: #016838;
    width: 30px;
    border-radius: 10px;
}

/* Offer Slider Enhancements */
.offer-slider .owl-nav button {
    background: rgba(255, 255, 255, 0.9) !important;
    color: #016838 !important;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    transition: all 0.3s ease;
}

.offer-slider .owl-nav button:hover {
    background: #016838 !important;
    color: white !important;
    transform: scale(1.1);
}

/* Feature Item Icon Animation */
.feature-item .icon-inner {
    transition: all 0.3s ease;
}

.feature-item:hover .icon-inner {
    transform: rotate(10deg) scale(1.1);
    background: linear-gradient(
        135deg,
        rgba(1, 104, 56, 0.2) 0%,
        rgba(139, 196, 63, 0.2) 100%
    ) !important;
}

/* Community Section Overlay */
.community-section::before {
    background: linear-gradient(
        135deg,
        rgba(1, 104, 56, 0.85) 0%,
        rgba(0, 82, 42, 0.85) 100%
    ) !important;
}

/* Offer Section Background */
.offer-section {
    position: relative;
    background: linear-gradient(135deg, #016838 0%, #024d2a 100%);
}

.offer-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 50px 50px;
    opacity: 0.3;
    z-index: 0;
}

/* Enhanced Image Filters */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .banner-title {
        font-size: 1.5rem !important;
    }

    .section-title {
        font-size: 1.5rem !important;
    }

    .choose-item,
    .feature-item {
        padding: 20px 15px !important;
    }

    .btn {
        font-size: 0.8rem !important;
        padding: 8px 20px !important;
    }
}

@media (max-width: 576px) {
    .banner-section {
        min-height: 450px !important;
    }

    .banner-title {
        font-size: 1.3rem !important;
    }

    .section-title {
        font-size: 1.3rem !important;
    }
}

/* AOS Animation Overrides for Smooth Performance */
[data-aos] {
    pointer-events: auto;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* Professional Spacing for Sections */
.pt-120 {
    padding-top: 120px;
}

.pb-120 {
    padding-bottom: 120px;
}

@media (max-width: 768px) {
    .pt-120 {
        padding-top: 60px;
    }

    .pb-120 {
        padding-bottom: 60px;
    }
}

/* Enhanced Badge Styling */
.badge-success {
    background: linear-gradient(135deg, #016838 0%, #8bc43f 100%);
    box-shadow: 0 4px 10px rgba(1, 104, 56, 0.2);
}

/* Why Choose Us Section Card Hover Effects */
.choose-us-section .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(1, 104, 56, 0.15) !important;
}

.choose-us-section .card:hover .icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(
        135deg,
        rgba(1, 104, 56, 0.15) 0%,
        rgba(139, 196, 63, 0.15) 100%
    );
}

.choose-us-section .card:hover .card-title {
    color: #016838;
}

.choose-us-section .icon-wrapper img {
    transition: transform 0.3s ease;
}

/* Modern Offer Section Styling */
.offer-section {
    background: linear-gradient(135deg, #f8fafb 0%, #f0f4f8 100%);
    position: relative;
    overflow: hidden;
}

.offer-section::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(
        circle,
        rgba(139, 196, 63, 0.1) 0%,
        transparent 70%
    );
    border-radius: 50%;
}

.offer-section::after {
    content: "";
    position: absolute;
    bottom: -50px;
    left: 50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(
        circle,
        rgba(1, 104, 56, 0.08) 0%,
        transparent 70%
    );
    border-radius: 50%;
}

.offer-section h2 {
    color: #016838;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.offer-section .section-subtitle {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.offer-carousel-item {
    background: white;
    padding: 2.5rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    height: 100%;
    border: 1px solid rgba(1, 104, 56, 0.05);
    position: relative;
}

.offer-carousel-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #016838 0%, #8bc43f 100%);
    border-radius: 12px 12px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.offer-carousel-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(1, 104, 56, 0.15);
    border-color: #8bc43f;
}

.offer-carousel-item:hover::before {
    opacity: 1;
}

.offer-carousel-item h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #016838;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.offer-carousel-item:hover h3 {
    color: #8bc43f;
}

.offer-carousel-item p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

.offer-carousel-item .badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: linear-gradient(135deg, #016838 0%, #024d2a 100%);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 1rem;
}

.offer-carousel-item .offer-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #016838;
    margin: 1rem 0;
}

.offer-carousel-item .offer-price sup {
    font-size: 1rem;
    margin-right: 0.2rem;
}

.offer-carousel-item .btn {
    background: linear-gradient(135deg, #016838 0%, #024d2a 100%);
    color: white;
    border: none;
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.offer-carousel-item .btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.offer-carousel-item .btn:hover::before {
    width: 300px;
    height: 300px;
}

.offer-carousel-item .btn:hover {
    background: linear-gradient(135deg, #8bc43f 0%, #6fb84e 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 196, 63, 0.3);
}

.owl-carousel .owl-controls .owl-nav button {
    background: transparent;
    border: 2px solid #016838;
    color: #016838;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.owl-carousel .owl-controls .owl-nav button:before {
    font-size: 18px;
    color: #016838;
}

.owl-carousel .owl-controls .owl-nav button:hover {
    background: #016838;
    color: white;
}

.owl-carousel .owl-controls .owl-nav button:hover:before {
    color: white;
}

.owl-carousel .owl-dots .owl-dot span {
    background: #d0d0d0;
    transition: all 0.3s ease;
}

.owl-carousel .owl-dots .owl-dot.active span,
.owl-carousel .owl-dots .owl-dot:hover span {
    background: #016838;
    box-shadow: 0 0 8px rgba(1, 104, 56, 0.4);
}

.choose-us-section .card:hover .icon-wrapper img {
    transform: scale(1.1);
}

/* Bootstrap Gap Utility Enhancement */
.g-4 {
    gap: 1.5rem !important;
}

/* Modern Scroll Indicator */
.scroll-indicator {
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-indicator:hover {
    transform: translateY(-50%) scale(1.2);
    color: #8bc43f !important;
}

/* Professional Grid Gap */
.modern-grid {
    gap: 30px;
}

@media (max-width: 768px) {
    .modern-grid {
        gap: 20px;
    }
}

/* ==================== COMMUNITY SECTION ==================== */
.community-section {
    position: relative;
    overflow: hidden;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.community-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(1, 104, 56, 0.7) 0%,
        rgba(2, 77, 42, 0.8) 50%,
        rgba(139, 196, 63, 0.4) 100%
    );
    z-index: 1;
    backdrop-filter: blur(2px);
}

.community-section::after {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(
        circle,
        rgba(139, 196, 63, 0.15) 0%,
        transparent 70%
    );
    border-radius: 50%;
    z-index: 0;
}

.community-section .container {
    position: relative;
    z-index: 2;
}

.community-section .section-header {
    animation: fadeInUp 0.8s ease;
}

.community-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    display: inline-block;
    padding: 8px 16px;
    background: rgba(139, 196, 63, 0.25);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
}

.community-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    margin-bottom: 20px;
    line-height: 1.2;
}

.community-section p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.05rem;
    line-height: 1.7;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .community-section .section-title {
        font-size: 1.8rem;
    }

    .community-section p {
        font-size: 0.95rem;
    }
}

/* ==================== TESTIMONIALS SECTION ==================== */
.testimonial-section {
    position: relative;
    overflow: hidden;
}

.testimonial-section .section-header {
    animation: fadeInDown 0.8s ease;
}

.testimonial-section .section-title {
    color: #016838;
    font-weight: 700;
}

.testimonial-section .section-subtitle {
    background: linear-gradient(135deg, #016838 0%, #024d2a 100%) !important;
    color: white !important;
    letter-spacing: 1px;
}

.testimonial-single-two {
    background: white;
    border-radius: 16px;
    padding: 35px 30px;
    text-align: center;
    border: 1px solid #e0e8f0;
    position: relative;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    height: 100%;
    overflow: hidden;
}

.testimonial-single-two::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #016838 0%, #8bc43f 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.testimonial-single-two:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(1, 104, 56, 0.15);
    border-color: #8bc43f;
}

.testimonial-single-two:hover::before {
    transform: scaleX(1);
}

.testimonial-single-two .quote-icon {
    position: absolute;
    top: 20px;
    left: 25px;
    font-size: 50px;
    color: rgba(1, 104, 56, 0.1);
    font-family: Georgia, serif;
    line-height: 0.8;
}

.testimonial-single-two .thumb {
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
}

.testimonial-single-two .thumb img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #8bc43f;
    box-shadow: 0 8px 25px rgba(1, 104, 56, 0.15);
    object-fit: cover;
    transition: all 0.3s ease;
}

.testimonial-single-two:hover .thumb img {
    border-color: #016838;
    transform: scale(1.08);
    box-shadow: 0 12px 35px rgba(1, 104, 56, 0.25);
}

.testimonial-single-two .testimonial-text {
    color: #555;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.testimonial-single-two .name {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.testimonial-single-two:hover .name {
    color: #016838;
}

.testimonial-single-two .rating {
    display: flex;
    gap: 4px;
    justify-content: center;
    margin-top: 10px;
}

.testimonial-single-two .rating i {
    color: #ffc107;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.testimonial-single-two:hover .rating i {
    transform: scale(1.15);
}

.testimonial-single-two:hover .rating i:nth-child(1) {
    animation: bounce 0.6s ease;
}

.testimonial-single-two:hover .rating i:nth-child(2) {
    animation: bounce 0.6s ease 0.1s;
}

.testimonial-single-two:hover .rating i:nth-child(3) {
    animation: bounce 0.6s ease 0.2s;
}

.testimonial-single-two:hover .rating i:nth-child(4) {
    animation: bounce 0.6s ease 0.3s;
}

.testimonial-single-two:hover .rating i:nth-child(5) {
    animation: bounce 0.6s ease 0.4s;
}

/* Testimonial Slider Styles */
.testmonial-slider-wrapper {
    position: relative;
}

.testimonial-slider.owl-carousel {
    padding: 20px 0;
}

.testimonial-slider .owl-stage-outer {
    overflow: visible !important;
    padding: 20px 0;
}

.testimonial-slider .owl-stage {
    display: flex;
    gap: 25px;
}

.testimonial-slider .owl-item {
    flex: 0 0 calc(33.333% - 17px);
}

.testimonial-slider .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #016838 0%, #024d2a 100%);
    color: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 0;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(1, 104, 56, 0.2);
}

.testimonial-slider .owl-nav button:before {
    font-size: 20px;
    color: white;
    font-family: FontAwesome;
}

.testimonial-slider .owl-prev {
    left: -70px;
}

.testimonial-slider .owl-next {
    right: -70px;
}

.testimonial-slider .owl-nav button:hover {
    background: linear-gradient(135deg, #8bc43f 0%, #6fb84e 100%);
    box-shadow: 0 8px 25px rgba(139, 196, 63, 0.35);
    transform: translateY(-50%) scale(1.1);
}

.testimonial-slider .owl-dots {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    justify-content: center;
}

.testimonial-slider .owl-dot {
    background: transparent;
    border: 2px solid #d0d0d0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-slider .owl-dot.active {
    background: linear-gradient(135deg, #016838 0%, #8bc43f 100%);
    border-color: #016838;
    box-shadow: 0 0 12px rgba(1, 104, 56, 0.4);
}

.testimonial-slider .owl-dot:hover {
    border-color: #016838;
    background: rgba(1, 104, 56, 0.3);
}

/* Features Section Enhancements */
.offer-section .section-subtitle {
    color: #666;
    font-size: 0.95rem;
}

/* Responsive Testimonials */
@media (max-width: 1024px) {
    .testimonial-slider .owl-item {
        flex: 0 0 calc(50% - 13px);
    }
}

@media (max-width: 768px) {
    .testimonial-slider .owl-item {
        flex: 0 0 100%;
    }

    .testimonial-slider .owl-nav button {
        width: 40px;
        height: 40px;
        font-size: 12px;
    }

    .testimonial-slider .owl-nav button:before {
        font-size: 16px;
    }

    .testimonial-slider .owl-prev {
        left: -50px;
    }

    .testimonial-slider .owl-next {
        right: -50px;
    }

    .community-section .section-title {
        font-size: 1.5rem;
    }

    .testimonial-single-two {
        padding: 25px 20px;
    }

    .testimonial-single-two .thumb img {
        width: 70px;
        height: 70px;
    }
}

/* ==================== NEW MODERN TESTIMONIAL CARDS ==================== */
.testimonial-card {
    cursor: pointer;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(1, 104, 56, 0.18) !important;
    border-color: #8bc43f !important;
}

.testimonial-card:hover .top-border {
    transform: scaleX(1);
}

.testimonial-card:hover .client-name {
    color: #016838;
}

.testimonial-card:hover .rating i {
    animation: starBounce 0.6s ease;
}

.testimonial-card .rating i:nth-child(1) {
    transition-delay: 0s;
}

.testimonial-card .rating i:nth-child(2) {
    transition-delay: 0.1s;
}

.testimonial-card .rating i:nth-child(3) {
    transition-delay: 0.2s;
}

.testimonial-card .rating i:nth-child(4) {
    transition-delay: 0.3s;
}

.testimonial-card .rating i:nth-child(5) {
    transition-delay: 0.4s;
}

.testimonial-card:hover .rating i {
    transform: scale(1.2) rotate(10deg);
}

.testimonial-card .client-avatar {
    animation: avatarFloat 3s ease-in-out infinite;
}

.testimonial-card:hover .client-avatar {
    animation: none;
    transform: scale(1.1);
}

.testimonial-text {
    transition: color 0.3s ease;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    left: -15px;
    top: -10px;
    font-size: 4rem;
    color: rgba(1, 104, 56, 0.05);
    font-family: Georgia, serif;
}

.testimonial-card:hover .testimonial-text {
    color: #016838;
}

/* Animations */
@keyframes starBounce {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.25) translateY(-3px);
    }
}

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

/* Grid Layout Responsiveness */
@media (max-width: 768px) {
    .testimonial-card {
        padding: 30px 25px !important;
    }

    .testimonial-card .client-avatar {
        width: 55px !important;
        height: 55px !important;
    }

    .testimonial-section {
        padding: 70px 0 !important;
    }
}

@media (max-width: 576px) {
    .testimonial-section {
        padding: 50px 0 !important;
    }

    .testimonial-card {
        padding: 25px 20px !important;
    }

    .testimonial-card h2 {
        font-size: 1.8rem !important;
    }
}
/* ==================== SWIPER TESTIMONIALS ==================== */
.testimonials-swiper-wrapper {
    position: relative;
    padding: 40px 0;
}

.testimonial-swiper {
    width: 100%;
    overflow: visible;
}

.testimonial-swiper .swiper-wrapper {
    align-items: stretch;
}

.testimonial-swiper .swiper-slide {
    height: auto;
    display: flex;
    align-items: stretch;
}

/* Swiper Navigation Buttons */
.testimonial-button-prev,
.testimonial-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px !important;
    height: 40px !important;
    background: linear-gradient(135deg, #016838 0%, #024d2a 100%);
    border-radius: 50%;
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(1, 104, 56, 0.25);
}

.testimonial-button-prev {
    left: -25px;
}

.testimonial-button-next {
    right: -25px;
}

.testimonial-button-prev:hover,
.testimonial-button-next:hover {
    background: linear-gradient(135deg, #8bc43f 0%, #6fb84e 100%);
    box-shadow: 0 8px 25px rgba(139, 196, 63, 0.35);
    transform: translateY(-50%) scale(1.1);
}

.testimonial-button-prev::after,
.testimonial-button-next::after {
    content: "";
    display: none;
}

.testimonial-button-prev .swiper-button-prev-icon,
.testimonial-button-next .swiper-button-next-icon {
    display: none;
}

/* Custom Arrow Icons */
.testimonial-button-prev::before {
    content: "←";
    font-size: 24px;
    font-weight: bold;
}

.testimonial-button-next::before {
    content: "→";
    font-size: 24px;
    font-weight: bold;
}

/* Swiper Pagination Dots */
.testimonial-pagination {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    justify-content: center;
    width: auto !important;
}

.testimonial-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #d0d0d0;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.testimonial-pagination .swiper-pagination-bullet-active {
    background: linear-gradient(135deg, #016838 0%, #8bc43f 100%);
    box-shadow: 0 0 12px rgba(1, 104, 56, 0.4);
    border-color: #016838;
}

.testimonial-pagination .swiper-pagination-bullet:hover {
    border-color: #016838;
    background: rgba(1, 104, 56, 0.3);
    transform: scale(1.15);
}

/* Responsive Swiper */
@media (max-width: 1024px) {
    .testimonial-button-prev,
    .testimonial-button-next {
        width: 45px;
        height: 45px;
    }

    .testimonial-button-prev::before,
    .testimonial-button-next::before {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .testimonial-button-prev {
        left: -20px;
    }

    .testimonial-button-next {
        right: -20px;
    }

    .testimonial-button-prev,
    .testimonial-button-next {
        width: 40px;
        height: 40px;
    }

    .testimonial-button-prev::before,
    .testimonial-button-next::before {
        font-size: 14px;
    }

    .testimonial-pagination {
        bottom: -40px;
        gap: 8px;
    }

    .testimonial-pagination .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
    }

    .testimonials-swiper-wrapper {
        padding: 30px 0 60px 0;
    }
}

@media (max-width: 576px) {
    .testimonial-button-prev,
    .testimonial-button-next {
        display: none;
    }

    .testimonial-pagination {
        bottom: -35px;
    }

    .testimonials-swiper-wrapper {
        padding: 20px 0 50px 0;
    }
}

/* ==================== MODERN FOOTER ==================== */
.footer-section {
    position: relative;
    z-index: 1;
}

.footer-section a {
    transition: all 0.3s ease;
    position: relative;
}

.footer-section a:hover {
    color: #8bc43f !important;
    padding-left: 4px;
}

.footer-section a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #8bc43f;
    transition: width 0.3s ease;
}

.footer-section a:hover::after {
    width: 100%;
}

/* Subscribe Form Styling */
.subscribe-form input {
    color: white;
}

.subscribe-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.subscribe-form input:focus {
    outline: none;
    border-color: #8bc43f !important;
    background: rgba(139, 196, 63, 0.1) !important;
    box-shadow: 0 0 20px rgba(139, 196, 63, 0.2);
}

.subs-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(139, 196, 63, 0.4) !important;
}

/* Social Links */
[style*="fab fa-facebook-f"]:hover,
[style*="fab fa-twitter"]:hover,
[style*="fab fa-linkedin-in"]:hover,
[style*="fab fa-instagram"]:hover {
    background: linear-gradient(135deg, #8bc43f 0%, #6fb84e 100%) !important;
    border-color: #8bc43f !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(139, 196, 63, 0.3) !important;
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer-section {
        padding: 0 !important;
    }

    .subscribe-form {
        flex-direction: column !important;
    }

    .subscribe-form input,
    .subscribe-form button {
        width: 100% !important;
        min-width: unset !important;
    }

    .row {
        --bs-gutter-x: 0 !important;
    }
}

/* ==================== MODERN PRELOADER ==================== */
.modern-preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #016838 0%, #024d2a 50%, #0a3d1f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    overflow: hidden;
}

.modern-preloader::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(
        circle,
        rgba(139, 196, 63, 0.15) 0%,
        transparent 70%
    );
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.modern-preloader::after {
    content: "";
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(
        circle,
        rgba(139, 196, 63, 0.1) 0%,
        transparent 70%
    );
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

.preloader-content {
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

/* Spinner */
.spinner-wrapper {
    width: 100px;
    height: 100px;
    position: relative;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid transparent;
    border-top-color: #8bc43f;
    border-right-color: rgba(139, 196, 63, 0.5);
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

.spinner-ring:nth-child(2) {
    width: 85%;
    height: 85%;
    top: 7.5%;
    left: 7.5%;
    border-top-color: #6fb84e;
    border-right-color: rgba(107, 184, 78, 0.3);
    animation: spin 1s linear infinite reverse;
}

.spinner-ring:nth-child(3) {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    border-top-color: rgba(139, 196, 63, 0.8);
    border-right-color: transparent;
    animation: spin 2s linear infinite;
}

/* Logo */
.preloader-logo {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: logoZoom 2s ease-in-out infinite;
}

.preloader-logo img {
    width: 60%;
    height: 60%;
    object-fit: contain;
}

/* Loading Text */
.loading-text {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.loading-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.dots {
    display: inline-block;
    margin-left: 4px;
}

.dots span {
    animation: blink 1.4s infinite;
    opacity: 0;
}

.dots span:nth-child(1) {
    animation-delay: 0s;
}

.dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.dots span:nth-child(3) {
    animation-delay: 0.4s;
}

/* Progress Bar */
.progress-bar-wrapper {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #016838 0%, #8bc43f 50%, #6fb84e 100%);
    width: 0%;
    border-radius: 2px;
    animation: progress 2.5s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(139, 196, 63, 0.6);
}

/* Animations */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes logoZoom {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes blink {
    0%,
    60%,
    100% {
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
}

@keyframes progress {
    0% {
        width: 0%;
    }
    50% {
        width: 100%;
    }
    100% {
        width: 0%;
    }
}

/* Preloader fade out */
.modern-preloader.fade-out {
    animation: fadeOutPreloader 0.6s ease-out forwards;
}

@keyframes fadeOutPreloader {
    0% {
        opacity: 1;
        visibility: visible;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

/* Responsive Preloader */
@media (max-width: 768px) {
    .spinner-wrapper {
        width: 80px;
        height: 80px;
    }

    .preloader-logo {
        width: 70px;
        height: 70px;
    }

    .loading-text {
        font-size: 1rem;
    }

    .progress-bar-wrapper {
        width: 150px;
    }
}
