/* General body */
body {
    font-family: Arial, sans-serif;
    background-color: #f0f2f5;
    margin: 0;
    padding: 20px;
}
.carousel-item {
  position: relative;
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5); /* Dark overlay */
  z-index: 1;
}

.carousel-caption {
  z-index: 2; /* Make sure caption is above overlay */
}

.card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.2);
    border-radius: 15px;
    z-index: 0;
}

.card-body * {
    position: relative;
    z-index: 1;
}

.object-fit-cover {
    object-fit: cover;
}


/* ID Card container */
.container-top {
    position: relative; /* change from static to relative */
    height: 688px;
    width: 1114px;
    margin: 0px auto;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    color: #333;
    padding: 12px;
}

/* Header of the ID Card */
.topHeadding {
    text-align: center;
    font-size: 1.5vh;
    font-weight: bold;
    color: #1b1b31;
}
.topHeaddingTitle {
	font-size: 3.5vh;
    margin-top: 90px;
    color: black;
    text-align: center;
}
.bottomHeading {
    position: absolute;
    bottom: 15px; /* distance from bottom */
    width: 100%;
    text-align: center;
    font-size: 3.5vh;
    font-weight: bold;
    color: #1b1b31;
}

/* Container for photo + details */
.container-2 {
    display: flex;
    margin-top: 48px;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
	font-weight:700 !important;
}
/* User photo */
.box-1 {
     height: 247px;
    /* width: 595px; */
    flex-shrink: 0;
    /* border-radius: 10px; */
    /* overflow: hidden; */
    /* border: 2px solid #fff; */
    /* box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);*/
}

.box-1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Name & info */
.box-2 {
	    padding-top: 20px;
    margin-left: 15px;
    font-family: 'Poppins', sans-serif;
}

.box-2 h5 {
        font-size: 3.4vh;
    margin: 0 0 5px 0;
    color: #1b1b31;
}

.box-2 p {
    font-size: 14px;
    margin: 2px 0;
    font-weight: 600;
    color: #ff4d00;
}

/* Additional info section */
.container-3 {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    font-size: 13px;
}

.info-box h4 {
    margin: 0;
    font-size: 3vh;
    color: #1b1b31;
    font-weight: 700;
}

.info-box p {
    margin: 2px 0;
    font-size: 2.5vh;
    font-weight: 500;
    color: #333;
}

/* Footer signature or watermark */
.signature {
    position: absolute;
    bottom: 15px;
    right: 20px;
    font-size: 2.5vh;
    color: rgba(0,0,0,0.6);
}


/* Responsive for mobile */
@media (max-width: 500px) {
    

    .box-1 {
       height: 247px;
    }

    .box-2 h5 {
        font-size: 26px;
    }
	.container-2{
		margin-top: 54px;
		}
       .container-3 {
        /* flex-direction: column; */
        gap: 5px;
        margin-top: 15px;
    }
}
