/* ==================== 

   HERO SECTION

   ==================== */

.hero-section {
    position: relative;

    overflow: hidden;

    padding: 0;

    margin: 0;
}

.hero-section .hero-swiper {
    width: 100%;

    height: 100vh;

    min-height: 600px;

    border-radius: 0 0 80px 80px;
}

.hero-section .swiper-slide {
    width: 100%;

    height: 100%;
}

.hero-section .hero-card {
    width: 100%;

    height: 100%;

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    position: relative;

    display: flex;

    align-items: center;

    justify-content: flex-start;
}

.hero-section .hero-overlay {
    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: rgba(0, 0, 0, 0.4);

    z-index: 1;
}

.hero-section::before {
    content: '';

    position: absolute;

    width: 100%;

    height: 100%;

    top: 0;

    left: 0;

    pointer-events: none;

    background: linear-gradient(
        45deg,
        transparent 45%,

        rgba(0, 0, 0, 0.02) 45%,

        rgba(0, 0, 0, 0.02) 55%,

        transparent 55%
    );

    background-size: 100px 100px;
}

.hero-content {
    text-align: right;

    position: relative;

    z-index: 2;
}

.hero-title {
    font-size: 42px;

    font-weight: bold;

    color: var(--text-dark);

    margin-bottom: 15px;

    line-height: 1.3;

    width: 40%;
}

.hero-subtitle {
    font-size: 35px;

    color: var(--text-light);

    margin-bottom: 30px;

    width: 50%;
}

/* Swiper Pagination */

.hero-section .swiper-pagination {
    bottom: 30px;
}

.hero-section .swiper-pagination-bullet {
    width: 12px;

    height: 12px;

    background: #585757;

    opacity: 0.5;
}

.hero-section .swiper-pagination-bullet-active {
    opacity: 1;

    background: var(--text-dark);
}

/* Swiper Navigation */

.hero-section .swiper-button-next,
.hero-section .swiper-button-prev {
    color: #fff;

    background: rgba(255, 255, 255, 0.2);

    width: 50px;

    height: 50px;

    border-radius: 50%;

    backdrop-filter: blur(10px);
}

.hero-section .swiper-button-next:hover,
.hero-section .swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.3);
}

.hero-section .swiper-button-next::after,
.hero-section .swiper-button-prev::after {
    font-size: 20px;
}

/* Responsive */

@media (max-width: 768px) {
    .hero-section .hero-swiper {
        height: 70vh;

        min-height: 500px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 28px;
    }

    .btn {
        padding: 12px 30px;

        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;

        width: 100%;
    }

    .hero-subtitle {
        font-size: 22px;
    }
}

/* ==================== 

   STATS SECTION

   ==================== */

.stats-section {
    position: relative;

    text-align: center;

    padding: 100px 20px 120px;

    background: #fff;

    overflow: hidden;
}

/* Blurred background glow line */

.stats-section::before {
    content: '';

    position: absolute;

    top: 70%;

    left: 0;

    transform: translateY(-50%);

    width: 100%;

    height: 150px;

    background: linear-gradient(
        to bottom,

        rgba(255, 255, 255, 0) 0%,

        rgba(188, 235, 210, 0.6) 30%,

        rgba(188, 235, 210, 0.7) 50%,

        rgba(188, 235, 210, 0.6) 70%,

        rgba(255, 255, 255, 0) 100%
    );

    filter: blur(45px);

    z-index: 0;

    opacity: 0.4;
}

.stats-title {
    font-size: 50px;

    color: #134b3e;

    margin-bottom: 20px;

    z-index: 2;

    position: relative;

    font-weight: bold;
}

.stats-subtitle {
    color: #4d7266;

    font-size: 18px;

    z-index: 2;

    position: relative;
}

.stats-grid {
    display: flex;

    justify-content: center;

    align-items: flex-end;

    flex-wrap: wrap;

    gap: 60px;

    z-index: 2;

    position: relative;

    min-height: 320px;
}

.stat-card {
    display: flex;

    flex-direction: column;

    align-items: center;

    position: relative;
}

/* Different heights for each bar based on value */

.stat-card:nth-child(1) .bar-wrap {
    height: 180px;
}

.stat-card:nth-child(2) .bar-wrap {
    height: 140px;
}

.stat-card:nth-child(3) .bar-wrap {
    height: 120px;
}

.stat-card:nth-child(4) .bar-wrap {
    height: 220px;
}

/* Container for the bar */

.bar-wrap {
    position: relative;

    width: 100px;

    overflow: visible;
}

/* Actual bar fill */

.bar {
    position: absolute;

    bottom: 0;

    width: 100%;

    height: 0;

    border-radius: 60px 60px 0 0;

    background: linear-gradient(
        to bottom,

        #a8e6cf 0%,

        rgba(168, 230, 207, 0.5) 50%,

        rgba(168, 230, 207, 0.1) 100%
    );

    animation: riseBar 2s ease-out forwards;

    box-shadow: none;
}

/* Different animation speeds based on target number */

.stat-card:nth-child(1) .bar {
    animation-duration: 2s;
}

.stat-card:nth-child(2) .bar {
    animation-duration: 1.5s;
}

.stat-card:nth-child(3) .bar {
    animation-duration: 1.2s;
}

.stat-card:nth-child(4) .bar {
    animation-duration: 2.5s;
}

@keyframes riseBar {
    from {
        height: 0;
    }

    to {
        height: 100%;
    }
}

.stat-number {
    font-size: 55px;

    font-weight: bold;

    color: #88d7b8;

    margin-bottom: 0px;
}

.stat-number::before {
    content: '+';
}

.stat-label {
    color: #428266;

    font-size: 32px;

    margin-top: 5px;
}

.stats-cta {
    text-align: center;

    margin-top: 60px;

    z-index: 2;

    position: relative;
}

/* ==================== 

   Features Sections

   ==================== */

section.feature-section {
    position: relative;
}

.feature-card {
    position: relative;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    padding: 40px 20px;

    text-align: center;

    width: 100%;

    max-width: 100%;

    border-radius: 70px;

    overflow: visible;
}

/* Stroke border using ::before */

.feature-card::before {
    content: '';

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    border-radius: 70px;

    border: 1px solid #ababab;

    pointer-events: none;

    z-index: 1;
}

.feature-card2 {
    position: relative;

    display: flex;

    flex-direction: row;

    align-items: center;

    padding: 20px 45px 20px 20px;

    text-align: center;

    width: 100%;

    max-width: 100%;

    height: auto;

    border-radius: 25px;

    overflow: visible;

    justify-content: space-between;
}

/* Stroke border using ::before */

.feature-card2::before {
    content: '';

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    border-radius: 25px;

    border: 1px solid #ababab;

    pointer-events: none;

    z-index: 1;
}

/* Gradient 1 - Original Beige */

.bg-gradient-1 {
    background: linear-gradient(180deg, #ffffff 0%, #e2d1ab 52%, #ffffff 96%);
}

/* Gradient 2 - Soft Blue */

.bg-gradient-2 {
    background: linear-gradient(180deg, #ffffff 0%, #b8d4e8 52%, #ffffff 96%);
}

/* Gradient 3 - Light Pink */

.bg-gradient-3 {
    background: linear-gradient(180deg, #ffffff 0%, #f5c6d5 52%, #ffffff 96%);
}

/* Gradient 4 - Mint Green */

.bg-gradient-4 {
    background: linear-gradient(180deg, #ffffff 0%, #b8e8d4 52%, #ffffff 96%);
}

/* Gradient 5 - Lavender */

.bg-gradient-5 {
    background: linear-gradient(180deg, #ffffff 0%, #d4c5f5 52%, #ffffff 96%);
}

/* Gradient 6 - Peach */

.bg-gradient-6 {
    background: linear-gradient(180deg, #ffffff 0%, #f5d4b8 52%, #ffffff 96%);
}

/* Gradient 7 - Soft Coral */

.bg-gradient-7 {
    background: linear-gradient(180deg, #ffffff 0%, #f5b8c5 52%, #ffffff 96%);
}

/* Gradient 8 - Light Yellow */

.bg-gradient-8 {
    background: linear-gradient(180deg, #ffffff 0%, #f5e8b8 52%, #ffffff 96%);
}

/* Gradient 9 - Sky Blue */

.bg-gradient-9 {
    background: linear-gradient(180deg, #ffffff 0%, #c5d4f5 52%, #ffffff 96%);
}

/* Gradient 10 - Aqua Green */

.bg-gradient-10 {
    background: linear-gradient(180deg, #ffffff 0%, #d4f5e8 52%, #ffffff 96%);
}

/* Gradient 11 - Rose Pink */

.bg-gradient-11 {
    background: linear-gradient(180deg, #ffffff 0%, #f5d4e8 52%, #ffffff 96%);
}

/* Gradient 12 - Lemon Yellow */

.bg-gradient-12 {
    background: linear-gradient(180deg, #ffffff 0%, #f5f5b8 52%, #ffffff 96%);
}

/* Gradient 13 - Teal */

.bg-gradient-13 {
    background: linear-gradient(180deg, #ffffff 0%, #b8e8e8 52%, #ffffff 96%);
}

/* Gradient 14 - Apricot */

.bg-gradient-14 {
    background: linear-gradient(180deg, #ffffff 0%, #f5c5b8 52%, #ffffff 96%);
}

/* Gradient 15 - Lilac */

.bg-gradient-15 {
    background: linear-gradient(180deg, #ffffff 0%, #e8d4f5 52%, #ffffff 96%);
}

/* Gradient 16 - Sage Green */

.bg-gradient-16 {
    background: linear-gradient(180deg, #ffffff 0%, #c5e8b8 52%, #ffffff 96%);
}

/* Gradient 17 - Periwinkle */

.bg-gradient-17 {
    background: linear-gradient(180deg, #ffffff 0%, #d4c5e8 52%, #ffffff 96%);
}

/* Gradient 18 - Cream */

.bg-gradient-18 {
    background: linear-gradient(180deg, #ffffff 0%, #e8e8c5 52%, #ffffff 96%);
}

/* Gradient 19 - Blush */

.bg-gradient-19 {
    background: linear-gradient(180deg, #ffffff 0%, #f5b8d4 52%, #ffffff 96%);
}

/* Gradient 20 - Turquoise */

.bg-gradient-20 {
    background: linear-gradient(180deg, #ffffff 0%, #b8f5e8 52%, #ffffff 96%);
}

.feature-title {
    font-size: 35px;

    font-weight: bold;

    /* margin-bottom: 30px; */

    color: #333;

    position: relative;

    z-index: 2;
}

.feature-icon {
    margin: 20px 0;

    position: relative;

    z-index: 2;
}

.feature-icon img {
    max-width: 150px;

    height: auto;
}

.feature-subtitle {
    font-size: 16px;

    line-height: 1.6;

    color: #666;

    position: relative;

    z-index: 2;

    margin-top: 20px;
}

/* ==================== 

   video SECTION

   ==================== */

/* ==== Videos Section ==== */

.videos-section {
    background: #f9fafb;

    padding: 60px 0;
}

.video-card {
    display: flex;

    align-items: center;

    justify-content: space-between;

    background: #fff;

    border-radius: 25px;

    padding: 25px 30px;

    transition: all 0.3s ease-in-out;

    background: linear-gradient(to bottom, #f9fbfd 0%, #f2f4f7 100%);

    border: 1px solid #dcdfe3;
}

/* For text selection inside .video-card */

.video-card::selection {
    background: linear-gradient(90deg, #6884a5 0%, #6884a5 52%, #ffffff 96%);

    color: #fff; /* Adjust text color to contrast with the gradient */
}

/* Video Box */

.video-card .video {
    position: relative;

    width: 140px;

    height: 250px;

    border-radius: 12px;

    overflow: hidden;

    background: #000;
}

.video-card .video img {
    width: 100%;

    height: 100%;

    object-fit: cover;

    border-radius: 12px;

    cursor: pointer;
}

/* Play Button Overlay */

.video-card .video::after {
    content: '\25B6';

    position: absolute;

    top: 50%;

    left: 50%;

    transform: translate(-50%, -50%);

    font-size: 48px;

    color: #fff;

    opacity: 0.85;

    transition: opacity 0.2s ease-in-out;

    pointer-events: none;
}

.video-card:hover .video::after {
    opacity: 1;
}

/* Text Content */

.video-card .content {
    flex: 1;

    text-align: right;

    margin-right: 25px;
}

.video-card .content h1 {
    font-size: 22px;

    color: #333;

    margin-bottom: 10px;
}

.video-card .content span {
    display: block;

    font-size: 16px;

    color: #555;

    line-height: 1.6;

    margin-bottom: 20px;
}

/* ==================== 

   TESTIMONIALS SECTION

   ==================== */

.testimonials-section {
    padding: 60px 0;
}

.testimonial-card {
    background: #fffcf7;

    border-radius: 15px;

    padding: 30px;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);

    margin-bottom: 20px;
}

.testimonial-header {
    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 15px;
}

.name-user {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 10px;
}

.name-user i {
    border: solid 2px var(--secondary-color);

    border-radius: 50px;

    width: 35px;

    height: 35px;

    display: flex;

    justify-content: center;

    align-items: center;

    font-size: 20px;

    color: var(--sprimary-color);
}

.name-user span strong {
    color: var(--secondary-color);

    font-size: 16px;
}

.name-user span p {
    color: var(--dark-color);

    font-size: 13px;

    margin: 0;
}

.testimonial-text {
    color: var(--text-dark);

    line-height: 1.8;

    font-size: 15px;
}

/* ==================== 

   FAQ SECTION

   ==================== */

.faq-section {
    padding: 60px 0;

    background-color: white;
}

.accordion-item {
    border: 1px solid #b1db83;

    margin-bottom: 0;

    border-radius: 0;

    overflow: hidden;
}

.accordion-button {
    background-color: white;

    color: var(--text-dark);

    font-weight: 600;

    padding: 20px;
}

.accordion-button:not(.collapsed) {
    box-shadow: 0 0 0 0.25rem rgb(163 167 174 / 25%);

    background-color: #faf8f8;

    color: #333333;
}

.accordion-body {
    padding: 20px;

    color: var(--text-light);

    line-height: 1.8;

    text-align: right;
}

.home {
    background: #faf8f8;

    border: solid 1px #ababab;

    border-radius: 38px;

    margin: 5% 15px 15px 15px;
}

.home:hover {
    background: var(--dark-color);

    border: solid 1pxvar (--dark-color);

    color: #f8f8f8;
}

section:nth-of-type(odd) {
    background: #f9fcfd9c; /* or any color you want */
}

/* testing css */

/* ========================================

   FIX: Swiper Pagination Touch Targets

   Ensures 48x48px minimum touch area

======================================== */

/* Make pagination bullets larger and touchable */

.swiper-pagination-bullet {
    width: 48px !important;

    height: 48px !important;

    margin: 0 4px !important;

    background-color: transparent !important;

    opacity: 1 !important;

    border-radius: 50%;

    position: relative;

    display: inline-block;
}

/* The actual visible dot inside the touch area */

.swiper-pagination-bullet::before {
    content: '';

    position: absolute;

    top: 50%;

    left: 50%;

    transform: translate(-50%, -50%);

    width: 10px;

    height: 10px;

    border-radius: 50%;

    background-color: #ccc;

    opacity: 0.5;

    transition: all 0.3s ease;
}

/* Active bullet */

.swiper-pagination-bullet-active::before {
    background-color: #ff6b35; /* Change to your brand color */

    opacity: 1;

    width: 12px;

    height: 12px;
}

/* Hover state */

.swiper-pagination-bullet:hover::before {
    opacity: 0.8;

    transform: translate(-50%, -50%) scale(1.1);
}

/* Ensure pagination has enough vertical spacing */

.swiper-pagination {
    padding: 15px 0 !important;

    bottom: 10px !important;
}

/* For horizontal pagination */

.swiper-pagination-horizontal {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 4px;
}

/* sddddddddd */

/* ========================================

   FIX: Larger Swiper Pagination Bullets

======================================== */

.swiper-pagination-bullet {
    width: 20px !important;

    height: 20px !important;

    margin: 0 2px !important;

    background-color: rgba(0, 0, 0, 0.2) !important;

    opacity: 1 !important;

    border-radius: 50%;

    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background-color: #ff6b35 !important; /* Your brand color */

    transform: scale(1.1);
}

.swiper-pagination-bullet:hover {
    background-color: rgba(0, 0, 0, 0.4) !important;
}

.swiper-pagination {
    padding: 20px 0 !important;
}

.video-card .btn-white {
    display: inline;
}
