/* ==========================================
   Section Layout & Typography
   ========================================== */
.vision-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden; /* Prevents horizontal scroll from Swiper arrows */
    background: var(--color-4);
}
/* ==========================================
   Card Styling
   ========================================== */
.vision-swiper {
    /* Padding ensures box-shadows aren't cut off by hidden overflow */
    padding: 20px 5px 40px 5px !important; 
    position: relative;
}

.vision-card {
    background-color: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    padding: 40px 30px;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.vision-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}

.card-icon {
    font-size: 45px;
    color: var(--color-3);
    margin-bottom: 25px;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-1);
    margin-bottom: 20px;
    line-height: 1.3;
    font-family: var(--font-01);
}

/* ==========================================
   Custom Bullet List (Checkmarks)
   ========================================== */
.custom-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1; /* Pushes content down evenly */
     font-family: var(--font-02);
}

.custom-check-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 16px;
    color: #666666;
    line-height: 1.5;
}

.custom-check-list li:last-child {
    margin-bottom: 0;
}

.custom-check-list li i {
    position: absolute;
    left: 0;
    top: 5px;
    font-size: 13px;
    color: var(--color-3); /* Orange checkmarks */
}

/* ==========================================
   Custom Swiper Navigation Arrows (Hover Effect)
   ========================================== */
.custom-swiper-button-prev,
.custom-swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    /*background-color: #ffffff;
    border: 1px solid #e0e0e0;*/
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--theme-orange);
    font-size: 16px;
    cursor: pointer;
    z-index: 10;
    
    /* Hide by default */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

/* Initial start positions (pushed further out so they slide in) */
.custom-swiper-button-prev {
    left: -40px; 
}

.custom-swiper-button-next {
    right: -40px;
}

/* Show arrows and slide them into place when hovering over the slider */
.vision-swiper:hover .custom-swiper-button-prev {
    opacity: 1;
    visibility: visible;
    left: 15px; /* Final resting position */
}

.vision-swiper:hover .custom-swiper-button-next {
    opacity: 1;
    visibility: visible;
    right: 12px; /* Final resting position */
}

/* Hover effect on the buttons themselves */
.custom-swiper-button-prev:hover,
.custom-swiper-button-next:hover {
    background-color: var(--theme-orange);
    border-color: var(--theme-orange);
    color: #ffffff;
}

/* ==========================================
   Responsive Breakpoints
   ========================================== */
@media (max-width: 1400px) {
    /* Hide custom arrows entirely on smaller screens so they don't overlap cards */
    .custom-swiper-button-prev,
    .custom-swiper-button-next {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .main-heading { font-size: 28px; }
    .vision-section { padding: 50px 0; }
    .vision-card { padding: 30px 20px; }
}