﻿.w-350
{
    width: 350px !important;
}
.w-300
{
    width: 300px !important;
}
.w-250
{
    width: 250px !important;
}
.w-230
{
    width: 230px !important;
}
.w-200
{
    width: 200px !important;
}
.w-150
{
    width: 150px !important;
}
.w-100
{
    width: 100px !important;
}

.w-120
{
    width: 120px !important;
}

.w-full
{
    width: 100%;
}

.w-half
{
    width: 50%;
}

@media (min-width: 768px)
{
    .md-w-50
    {
        width: 50%;
    }
    .md-w-25
    {
        width: 25%;
    }
}

.fixed-width
{
    width: 120px !important; /* fixed width for textboxes */
    display: inline-block;
    margin: 0 auto; /* centers inside the column */
    padding: 2px 6px;
}
        
.filter-bar
{
    min-width: 450px;
}
/*============================ CARD BOX ==========================*/
/* Panel card styling */
.card-box {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-top: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease;
  position: relative;
}
.card-box:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  transform: translateY(-3px);
}

/* Panel heading */
.panel-heading { 
  border-radius: 6px 6px 0 0;
  padding: 10px 15px;
  position: relative;
}
.panel-title {
  margin: 0;
  font-size: 24px;
  font-weight: bold;
}

/* Close button */
#closeBtn {
  position: absolute;
  right: 15px;
  top: 10px;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: color 0.3s ease;
}
.panel-heading #closeButton:hover {
  color: #d9534f;
}

/* Table styling */
.card-table th {
  width: 150px;
  font-size: 16px;
  text-align: left;
  background-color: #f9f9f9;
}
.card-table td {
  font-size: 16px;
  text-align: left;
}
.panel-body {
  padding: 20px; /* equal padding on all sides */
}

.card-box:hover {
  animation: fadeInUp 0.6s ease;
}

#gallerySection .panel-body {
  padding: 10px 20px; /* equal padding on all sides */
}

.img-wrapper {
  margin: 10px 0px; /* space between rows of images */
}

.uniform-img {
  width: 100%;          /* ensures consistent sizing */
  height: auto;         /* keeps aspect ratio */
}

/* Image styling */
.image-box img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

#imageGallery img:hover 
{
    cursor: pointer;
    transform: scale(1.05);
    transition: transform 0.2s ease-in-out;
}

.animated {
  animation: fadeInUp 0.6s ease;
}


/* Extra-small screens: stack */
@media (max-width: 767px) {
  .image-box {
    text-align: center;
    margin-top: 15px;
    animation: slideInUp 0.6s ease;
  }
  .panel-title {
    font-size: 18px;
  }
  .card-table th,
  .card-table td {
    font-size: 14px;
  }
}

/* Larger screens: side by side */
@media (min-width: 768px) {
  .equal-box {
    display: flex;
    align-items: flex-start; /* keep table aligned top-left */
  }
  .details-box {
    flex: 7;
  }
  .image-box {
    flex: 5;
    text-align: right;
  }
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideOutRight {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(100%); }
}

/*=========================IMAGE MODEL===================*/

        


