/* --- SECTION STYLES --- */
.bg-grey {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.section-padding {
    padding: 80px 0;
}

/* --- TYPOGRAPHY --- */
.sec-header {
    text-align: center;
    margin-bottom: 50px;
}

.sec-title {
    color: var(--brand-navy);
    font-size: 1.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    cursor: pointer;
}

/* underline */
.sec-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -8px;
    width: 40%;
    height: 3px;
    background-color: var(--brand-navy);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width 0.35s ease;
}

/* hover → expand both sides */
.sec-title:hover::after {
    width: 100%;
}

/* --- CARD / FEATURE BOX UI --- */
.box-feature {
    background: #ffffff;
    padding: 40px 30px; /* Increased padding for better look */
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease-in-out;
    border: 1px solid transparent;
    height: 100%; /* Ensures all cards are same height */
    position: relative;
    overflow: hidden;
    text-align: left; /* Aligns text left like your image */
}

.box-feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: #e2e8f0;
}

/* Icon Styling */
.feature-icon-wrapper {
    width: 70px;
    height: 70px;
    background-color: rgba(59, 89, 152, 0.1); /* Light Blue BG */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: background-color 0.3s ease;
}

.box-feature:hover .feature-icon-wrapper {
    background-color: var(--brand-navy);
}

.box-feature i {
    font-size: 1.8rem !important;
    color: var(--brand-navy);
    transition: color 0.3s ease;
}

.box-feature:hover i {
    color: #ffffff;
}

/* Text Inside Card */
.vani-card-title {
    color: var(--brand-navy);
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    cursor: pointer;
}

/* Underline under small headings inside card */
.vani-card-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -8px;
    width: 40%;
    height: 3px;
    background-color: var(--brand-navy);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width 0.35s ease;
}

.vani-card-title:hover::after {
    width: 100%;
}

.vani-para {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--brand-grey);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Read More Link */
.learn-more {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: var(--brand-navy);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    margin-top: auto; /* Pushes link to bottom if flex used */
}

.learn-more:hover {
    color: #2d4373;
}

.learn-more::after {
    content: "\2192"; /* Right Arrow */
    margin-left: 5px;
    transition: transform 0.2s ease;
}

.learn-more:hover::after {
    transform: translateX(5px);
}

/* --- IMAGE STYLES --- */
.img-rounded-custom {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.img-rounded-custom:hover {
    transform: scale(1.02);
}
