
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 90%;
    max-width: 1000px;
    margin: 75px 0;
}

.slideshow-container {
    position: relative;
    width: 100%;
}

.mySlides {
    display: none;
}

.card-image {
    width: 100%;
    height: auto;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
}

.prev {
    left: 8px;
}

.next {
    right: 8px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.card-text {
    padding: 20px;
}

.card-text h1 {
    margin: 0;
    font-size: 1.5em;
    color: #333;
}

.card-text p {
    color: #666;
    margin-top: 10px;
}
.project{
 
    text-align: center;
    color: #198754;
}
.back-button {
    list-style: none;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #fff; /* TEXT COLOR */
    background-color: #1f1f1f; /* BUTTON BACKGROUND COLOR */
    padding: 5px 10px; /* BUTTON PADDING */
    border-radius: 5px; /* BUTTON BORDER RADIUS */
    font-size: 16px; /* FONT SIZE */
    transition: background-color 0.3s ease; /* TRANSITION EFFECT */
}

.back-button .icon {
    margin-right: 8px; /* SPACE BETWEEN ICON AND TEXT */
    font-size: 18px; /* ICON SIZE */
    list-style: none;
}

.back-button:hover {
    color: #198754; /* HOVER EFFECT COLOR */
    background-color: white;
    list-style: none;
}

.custom-col {
    padding: 0; /* EXAMPLE OVERRIDE */
    margin: 0;  /* EXAMPLE OVERRIDE */
}

.custom-link {
    font-size: inherit;    /* REMOVE FONT-SIZE */
    color: inherit;        /* REMOVE COLOR */
    text-decoration: none; /* REMOVE TEXT DECORATION */
    display: block;        /* MAKE EACH LINK A BLOCK ELEMENT */
    margin-bottom: 5px;    /* ADD SPACE BETWEEN LINKS */
}

@media (max-width: 480px) {
    .card-text h1 {
        font-size: 1.2em;
    }

    .card-text p {
        font-size: 0.9em;
    }

    .back-button {
        font-size: 14px;
        padding: 4px 8px;
    }

    .prev, .next {
        font-size: 14px;
        padding: 12px;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .card-text h1 {
        font-size: 1.3em;
    }

    .card-text p {
        font-size: 1em;
    }

    .back-button {
        font-size: 15px;
        padding: 5px 9px;
    }

    .prev, .next {
        font-size: 16px;
        padding: 14px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .card-text h1 {
        font-size: 1.4em;
    }

    .card-text p {
        font-size: 1.1em;
    }

    .back-button {
        font-size: 16px;
        padding: 5px 10px;
    }

    .prev, .next {
        font-size: 17px;
        padding: 15px;
    }
}

@media (min-width: 1025px) and (max-width: 1200px) {
    .card-text h1 {
        font-size: 1.5em;
    }

    .card-text p {
        font-size: 1.2em;
    }

    .back-button {
        font-size: 17px;
        padding: 6px 11px;
    }

    .prev, .next {
        font-size: 18px;
        padding: 16px;
    }
}

@media (min-width: 1201px) {
    .card-text h1 {
        font-size: 1.6em;
    }

    .card-text p {
        font-size: 1.3em;
    }

    .back-button {
        font-size: 18px;
        padding: 7px 12px;
    }

    .prev, .next {
        font-size: 19px;
        padding: 17px;
    }
}
.icon-wrapper {
display: inline-block;
border-radius: 10px;
padding: 5px;
transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* HOVER EFFECT FOR ICON WRAPPER */
.icon-wrapper:hover {
background-color: #cccccc; /* DARK BACKGROUND COLOR */
transform: scale(1.1); /* SCALE UP ICON */
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* SHADOW EFFECT */
}

/* CSS FOR SOCIAL ICONS */
.social-icon {
display: block;
width: 100%;
height: auto;
transition: opacity 0.3s ease;
}

/* HOVER EFFECT FOR SOCIAL ICONS */
.icon-wrapper:hover .social-icon {
opacity: 0.9; /* SLIGHTLY LESS OPAQUE */
}