/* Common container design */
.motto-box, .about-box {
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}

/* Motto Section */
.motto-title {
    color: #E60000;
    font-size: 40px;
    font-weight: 800;
}

.motto-subtitle {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    margin-bottom: 30px;
}

.motto-cards {
    display: flex;
    gap: 25px;
}

.motto-card {
    flex: 1;
    padding: 25px;
    background: #f6f6f6;
    border-radius: 18px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.motto-card h4 {
    font-size: 18px;
    font-weight: 800;
}

.motto-card.blue h4 { color: #0080FF; }
.motto-card.red h4 { color: #E60000; }

/* About Section */
.about-box {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-title {
    font-size: 40px;
    font-weight: 800;
    color: #0080FF;
}

.about-right {
    min-height: 380px; /* adjust for more height */
}

.about-btn {
    display: inline-block;
    background: #E60000;
    color: #fff;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 10px;
}


/* Responsive */
@media(max-width: 991px) {
    .motto-cards,
    .about-box {
        flex-direction: column;
    }

    .about-img {
        max-width: 100%;
    }
}
.about-section {
    display: flex;
    gap: 40px;
    align-items: stretch;
    margin-top: 40px;
}

.about-left {
    flex: 0 0 60%;    /* text takes 60% */
}

.about-right {
    flex: 0 0 40%;    /* image takes 40% */
    display: flex;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}


.mv-card {
    background: #faf7f7;
    padding: 25px 30px;
    border-radius: 18px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: relative;
    transition: 0.3s ease;
    width: 100%;
}

/* HEADINGS */
.mv-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}

/* Blue title */
.mission h4 {
    color: #0074c9;
}

/* Red title */
.vision h4 {
    color: #e40000;
}

/* Curved colored bottom underline */
.mission {
    box-shadow: 0px 8px 0px -3px #0074c9, 
                0px 10px 10px rgba(0, 116, 201, 0.25);
}

.vision {
    box-shadow: 0px 8px 0px -3px #e40000, 
                0px 10px 10px rgba(228, 0, 0, 0.25);
}
/* CARD CONTAINER */
.project-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: 0.3s ease-in-out;
    position: relative;
}

/* IMAGE AREA */
.project-image {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s ease;
}

/* ZOOM EFFECT ON HOVER */
.project-card:hover img {
    transform: scale(1.07);
}

/* GRADIENT OVERLAY */
.project-image::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 55%;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
}

/* CATEGORY BADGE */
.project-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    padding: 4px 14px;
    background: #e40000;
    color: #fff;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 3;
}

/* CONTENT AREA */
.project-content {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height:112px !important;

    
}


.project-content h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    color: #222;
    line-height: 22px;
    width: 80%;
}

/* BUTTON */
.project-btn {
    width: 40px;
    height: 40px;
    background: #da251d;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: 0.3s;
}

.project-btn:hover {
    background: #b81e17;
}

/* Desktop (keep your original) */
.rs-cta-area {
    margin-top: -146px !important;
}

/* Tablets & mobile */
@media (max-width: 991px) {
    .rs-cta-area {
        margin-top: -100px !important;   /* adjust */
    }
}

/* Small mobile */
@media (max-width: 575px) {
    .rs-cta-area {
        margin-top: -80px !important;   /* you can change to -89px */
    }
}


/*about us page*/
.about-bg {
    background-image: url('../../webadmin/aboutbg.png');
    background-size: cover;       /* makes it full size */
    background-position: center;  /* centers image */
    background-repeat: no-repeat;
    padding: 80px 40px;           /* spacing around text */
    color: #fff;                  /* if text needs white */
    border-radius: 10px;          /* optional */
    position: relative;
    z-index: 1;
}
/* Enhance About Section */
.about-enhanced {
    position: relative;
    padding: 80px 60px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    overflow: hidden;
}

/* Subtle pattern overlay */
.about-enhanced::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/webadmin/aboutbg.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.08;
    z-index: 0;
}

/* Soft left vertical accent line */
.about-enhanced::after {
    content: "";
    position: absolute;
    top: 20%;
    left: 0;
    height: 60%;
    width: 6px;
    background: linear-gradient(to bottom, #EA5501, #FF8A3D);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(234, 85, 1, 0.3);
}

/* text styling inside */
.about-inner {
    position: relative;
    z-index: 2;
    font-size: 18px;
    line-height: 32px;
    color: #333;
    animation: fadeIn 0.8s ease;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px);}
    to   { opacity: 1; transform: translateY(0); }
}

/* Mobile Adjustment */
@media (max-width: 768px) {
    .about-enhanced {
        padding: 40px 25px;
    }
    .about-enhanced::after {
        left: 10px;
        height: 50%;
    }
}


