﻿
.breadcumb-area {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/banner/3.jpg) no-repeat center/cover;
    margin-top: 0px;
}


    .main-heading {
        font-size: 32px;
        font-weight: 700;
        color: #183167;
        position: relative;
        display: inline-block;
    }

    .main-heading::after {
        content: "";
        display: block;
        width: 80px;
        height: 4px;
        background: #ff4b00;
        margin: 10px auto 0;
        border-radius: 5px;
    }

    /* --- 3D Card Box --- */
    .card-box {
        background: linear-gradient(135deg, #183167, #045cb5);
        color: #fff;
        padding: 30px;
        border-radius: 20px;
        box-shadow: 0 10px 20px rgba(24, 49, 103, 0.3);
        transition: all 0.4s ease;
        transform-style: preserve-3d;
        perspective: 1000px;
        position: relative;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: 200px;
        /* ensures equal height */
    }

    .card-box::before {
        content: "";
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(120deg, transparent, rgba(255, 75, 0, 0.3), transparent);
        transform: rotate(45deg);
        transition: all 0.6s ease;
    }

    .card-box:hover::before {
        left: 100%;
        top: 100%;
    }

    .card-box:hover {
        transform: rotateY(15deg) rotateX(5deg) scale(1.03);
        box-shadow: 0 20px 40px rgba(4, 92, 181, 0.4);
    }

    .card-box h3 {
        font-size: 20px;
        font-weight: 600;
        color: #ff4b00;
        margin-bottom: 10px;
    }

    .card-box a {
        color: #fff;
        text-decoration: underline;
    }

    .branches-content {
        color: #333;
        line-height: 1.7;
    }

    .branches-section h2 {
        font-size: 24px;
        font-weight: 700;
        color: #183167;
        margin-bottom: 16px;
    }

    .branches-section p {
        font-size: 16px;
        margin-bottom: 14px;
    }

    .branches-section ul {
        margin: 0 0 16px 22px;
        padding: 0;
    }

    .branches-section li {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .branches-section a {
        color: #045cb5;
        font-weight: 600;
    }

    .card-box p {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .card-box .info p {
        font-size: 14px;
        margin: 0;
        color: #f1f1f1;
    }

    .card-box .info strong {
        color: #ff4b00;
    }

    /* Responsive Tweaks */
    @media (max-width: 768px) {
        .card-box {
            min-height: auto;
        }

        .main-heading {
            font-size: 26px;
        }
    }
    
