body {
  font-family: Arial;
}

.container {
  max-width: 1356px;
  margin: auto;
  padding: 30px;
  margin-top: 50px;

}

/* 🔥 TABS */
.tab-header {
  display: flex;
  gap: 30px;
  position: relative;
  margin-bottom: 30px;
  margin-left: 50px;
}

.tab {
  font-size: 32px;
  color: #999;
  cursor: pointer;
  transition: 0.3s;
}

.tab.active {
  color: #000;
  font-size: 40px;
}

.tab-underline {
  position: absolute;
  bottom: -5px;
  height: 3px;
  background:#ff7834;
  transition: 0.3s;
}

/* 🔥 FILTER */
.filter-bar {
  margin-bottom: 30px;
}

.filter-bar select {
  padding: 8px 15px;
}

/* 🔥 GRID */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 55px;
}

/* 🔥 CARD (IMPORTANT HEIGHT FIX) */
.card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  transition: 0.3s;
  border: 1px solid #eee;

  display: flex;
  flex-direction: column;
  height: 420px; /* 🔥 lamba box */
  gap: 10px;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.card-content h3 {
  font-size: 18px;
}

.card-content a {
  background: #ff7834;
  color: #fff;
  padding: 8px 12px;
  text-decoration: none;
  width: fit-content;
  border-radius: 5px;
}

.card:hover {
  transform: translateY(-5px);
}

/* responsive */
@media(max-width:768px){
  .card-grid {
    grid-template-columns: 1fr;
  }
}
.card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eee;
  transition: 0.3s;

  display: flex;
  flex-direction: column;
  height: 440px; /* thoda lamba */
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* 🔥 CONTENT */
.card-content {
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-left:20px ;
}

/* 🔥 TOP META (date + location) */
.meta-top {
  font-size: 13px;
  color: #777;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.meta-top .date {
  letter-spacing: 1px;
}

.meta-top .location {
  text-transform: uppercase;
  font-size: 12px;
  color: #999;
}

/* 🔥 TITLE */
.card-content h3 {
  font-size: 16px;
  font-weight: 600;
}

/* 🔥 DESC */
.card-content p {
  font-size: 14px;
  color: #555;
}

/* 🔥 BUTTON */
.card-content a {
  margin-top: auto;
  background: #ff6a00;
  color: #fff;
  padding: 8px 14px;
  text-decoration: none;
  border-radius: 5px;
  width: fit-content;
}

/* 🔥 HOVER */
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
/* 🔥 LEFT BORDER LINE (hidden by default) */
.card {
  position: relative;
  overflow: hidden;
}

/* line create */
.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: #ff6a00;
  transform: scaleY(0);
  transition: 0.3s;
}

/* hover pe line show */
.card:hover::before {
  transform: scaleY(1);
}

/* 🔥 TITLE COLOR CHANGE */
.card h3 {
  transition: 0.3s;
}

.card:hover h3 {
  color: #ff6a00;
}
.card {
  position: relative;
  overflow: hidden;
}

/* line */
.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 0; /* start zero */
  background: #ff6a00;
  transition: height 0.4s ease;
}

/* hover pe full height */
.card:hover::before {
  height: 100%;
}
/* DATE */
.card .date {
  font-size: 15px;   /* pehle ~12-13 hota hai */
  color: #000;       /* black */
  font-weight: 500;
  margin-bottom: 6px;
  margin-right: -45px;
}

/* LOCATION */
.card .location {
  font-size: 15px;
  color: #000;
  font-weight: 500;
  margin-bottom: 10px;
  margin-right: -45px;
}

/* TITLE (EXHIBITION NAME) */
.card h3 {
  font-size: 20px;   /* bada aur strong */
  color: #000;
  font-weight: 700;
  margin-bottom: 8px;
}
/* filter container */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 30px 0 40px;
  margin-top: 45px;
  margin-left: 50px;
}

/* label */
.filter-bar label {
  font-size: 16px;
  color: #000;
  font-weight: 500;
}

/* select box */
#yearFilter {
  padding: 8px 14px;
  font-size: 15px;
  border: 1px solid #bbb;   /* light black/grey */
  border-radius: 4px;
  background: #fff;
  color: #000;
  outline: none;
  cursor: pointer;
  transition: 0.3s;
}

/* hover */
#yearFilter:hover {
  border-color: #000;
}

/* focus */
#yearFilter:focus {
  border-color: #000;
  box-shadow: 0 0 0 1px #000;
}
footer {
    margin-right: -200px;
    margin-left: -200px;
    margin-bottom: -80px;
    margin-top: 40px;
}
/* 🔥 CARD HEIGHT THODA KAM */
.card{
  height: 410px;   /* pehle 440px tha */
  position: relative;
}

/* 🔥 CONTENT */
.card-content{
  padding: 15px;
  position: relative;
}

/* 🔥 VIEW DETAILS BUTTON UPPER RIGHT */
.card-content a{
  position: absolute;
  top: 15px;
  right: 35px;

  background: #ff6a00;
  color: #fff;

  padding: 7px 12px;
  text-decoration: none;
  border-radius: 5px;
  margin-top: px;
  margin-bottom: -1px;
  font-size: 14px;
}

/* 🔥 TITLE SPACE */
.card-content h3{
  margin-top: 4px;
}

/* 🔥 IMAGE */
.card img{
  height: 250px;
  object-fit: fill;
}
.date,
.location{
  display: flex;
  align-items: center;
  gap: 8px;

  font-size: 15px;
  font-weight: 500;
  color: #000;
}

.date img,
.location img{
  width: 16px;
  height: 16px;
  object-fit: contain;
}
/* ==========================
   FOOTER MOBILE RESPONSIVE
========================== */

@media screen and (max-width: 768px){

  footer{
    margin: 40px 0 0 0 !important;
    width: 100% !important;
  }

  .footer{
    padding: 30px 20px !important;
  }

  .footer-content{
    display: flex !important;
    flex-direction: column !important;
    gap: 30px !important;
    width: 100% !important;
  }

  .left-section,
  .navigation,
  .products{
    width: 100% !important;
    max-width: 100% !important;
  }

  .links-2{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;
  }

  .footer-item{
    width: 100%;
  }

  .social-icons{
    flex-wrap: wrap;
  }
}