@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
html,
body,
p,
span,
a,
h1,
h2,
h3,
h4,
h5 {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}
* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}
a:hover,
a:focus,
a:active {
    outline: none;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    list-style: none;
}
*:focus {
    outline: none;
}
*,
*:focus,
*:hover {
    outline: none;
}
button:focus:not(:focus-visible) {
    outline: none;
}
input[type="text"]:focus {
    -webkit-box-shadow: none !important;
    outline: 0 none;
}

.copyright {
    background-color: #000000;
}
.copyright span {
    color: #ffffff;
    font-family: "Roboto", sans-serif;
    font-size: 12px;
    letter-spacing: 1px;
}
.home_about {
    background: url("../img/home_about_bg.png");
    width: 100%;
    height: 100%;
    background-size: cover; /* Optional: cover entire container */
    background-repeat: no-repeat; /* Optional: prevent image repetition */
    background-position: center; /* Optional: center the image */
}
.home_about h3 {
    letter-spacing: 2px;
    text-transform: capitalize;
    font-weight: 400;
}
.home_about p {
    text-align: justify;
    font-size: 14px;
}

.home_about .image-overlay-container {
    position: relative;
}
.home_about .image-overlay-container img {
    display: block;
    width: 100%;
    height: auto;
}
.home_about .overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    bottom: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 1; /* for testing */
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border-radius: 8px; /* optional: to give nice rounded corners */
}
/* ==========================  */
.card-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: stretch; /* ensures all cards align in height */
}

.card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex: 1;
    display: flex;
    flex-direction: column; /* allows inner content to stretch properly */
}

/* Make image consistent in height */
.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* Let card content take available vertical space */
.card-content {
    padding: 15px;
    flex-grow: 1; /* fills remaining height */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* optional — distributes title/text evenly */
}

.card-title {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: bold;
}

.card-text {
    font-size: 14px;
    color: #555;
}

/* Responsive: stack cards on mobile */
@media (max-width: 768px) {
    .card-container {
        flex-direction: column;
    }
}

/*========= Modal Css =======*/
.element .card-container .card {
    transition: all 0.3s ease-in-out;
    border-radius: 10px;
    background: #fff;
}

.element .card-container .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.element .card-title {
    margin-top: 15px;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

.element .read-more-btn {
    border-radius: 25px;
    padding: 8px 20px;
    transition: all 0.3s ease;
}

.element .read-more-btn:hover {
    background-color: #0d6efd;
    color: #fff;
}
