
/*
=====================================================
MIR RABBY OFFICIAL
Version 2026 Edition

Emergency Section
Human Rights • Social Service • Public Affairs
=====================================================
*/


/* =========================================
   EMERGENCY SECTION
========================================= */

.emergency{

    padding:100px 0;

    background:linear-gradient(
        180deg,
        #FFF8F8 0%,
        #F8FAFC 100%
    );

}


/* =========================================
   GRID
========================================= */

.emergency-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}


/* =========================================
   CARD
========================================= */

.emergency-card{

    position:relative;

    padding:30px;

    background:var(--white-color);

    border-radius:24px;

    text-align:center;

    overflow:hidden;

    box-shadow:var(--shadow-sm);

    transition:var(--transition-normal);

}

.emergency-card:hover{

    transform:translateY(-10px);

    box-shadow:var(--shadow-lg);

}


/* =========================================
   TOP BORDER
========================================= */

.emergency-card::before{

    content:"";

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:5px;

    background:var(--secondary-color);

}


/* =========================================
   ICON
========================================= */

.emergency-icon{

    width:80px;

    height:80px;

    margin:0 auto 20px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:rgba(217,0,0,.08);

}

.emergency-icon img{

    width:42px;

    height:42px;

}


/* =========================================
   CONTENT
========================================= */

.emergency-card h3{

    margin-bottom:12px;

    color:var(--primary-color);

}

.emergency-card p{

    margin-bottom:20px;

    color:var(--text-light);

}


/* =========================================
   PHONE NUMBER
========================================= */

.emergency-number{

    display:inline-block;

    margin-bottom:20px;

    font-size:1.3rem;

    font-weight:700;

    color:var(--secondary-color);

}


/* =========================================
   CALL BUTTON
========================================= */

.call-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    width:100%;

    padding:14px 20px;

    border-radius:50px;

    background:var(--primary-color);

    color:var(--white-color);

    font-weight:600;

    transition:var(--transition-normal);

}

.call-btn:hover{

    background:var(--primary-dark);

    transform:translateY(-3px);

}


/* =========================================
   COLOR VARIANTS
========================================= */

.fire{

    border-top:4px solid #FF6B00;

}

.police{

    border-top:4px solid #0056D6;

}

.ambulance{

    border-top:4px solid #D90000;

}

.hospital{

    border-top:4px solid #009966;

}

.legal{

    border-top:4px solid #6A1B9A;

}

.women{

    border-top:4px solid #E91E63;

}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width:992px){

    .emergency-grid{

        grid-template-columns:repeat(2,1fr);

    }

}


@media (max-width:768px){

    .emergency{

        padding:80px 0;

    }

    .emergency-grid{

        grid-template-columns:1fr;

    }

    .emergency-card{

        padding:25px;

    }

}
