body {
    font-family: 'Arial', sans-serif;
    background-color: #faf5e8;
    color: #343a40;
}

.hder {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #a8e6cf, #dcedc1);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-header {
    text-align: center;
}

.title h1 {
    margin: 0;
    line-height: 1.2;
    color: #333;
}

.main-title {
    font-family: 'Oswald', sans-serif;
    font-size: 4em;
    display: inline-block;
}

.sub-title {
    font-family: 'Lobster', cursive;
    font-size: 2em;
    color: #8bc34a;
    position: relative;
    top: -10px;
}

  .two h1 {
    text-transform: capitalize;
    padding-left: 10%;
    padding-top: 15px;
  }
  
  .two h1 span {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 4px;
    line-height: 3em;
    padding-left: 0.25em;
    color: rgba(0, 0, 0, 0.4);
    padding-bottom: 10px;
  }


.card {
    border: none;
    border-radius: 0.75rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.card:hover {
    transform: scale(1.05);
}

.card-img-top {
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
    height: 200px;
    object-fit: cover;
}

.card-title {
    font-family: 'Georgia', serif;
    color: #6c757d;
}
.modal.hidden {
    display: none; /* Hidden by default */
}
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease-in-out;
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center; /* Centers vertically */
}

.modal-content {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Maintains aspect ratio */
    border-radius: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    animation: fadeIn 0.5s;
    background-color: transparent !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 1001;
}

.close:hover,
.close:focus {
    color: #ff6f61;
    transform: scale(1.1);
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.3s;
    border-radius: 0 3px 3px 0;
    user-select: none;
    z-index: 1001;
}

.next {
    right: 10px;
    border-radius: 3px 0 0 3px;
}

.prev {
    left: 10px;
    border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
    background-color: rgba(255, 255, 255, 0.8);
    color: black;
}



footer {
    background-color: #f8f9fa;
    border-top: 1px solid #e7e7e7;
}

footer .list-inline-item a {
    color: #6c757d !important;
    transition: color 0.2s;
}

footer .list-inline-item a:hover {
    color: #343a40 !important;
}
