    body {
        background: #fafafa;
    }

    /* Filter box */
    .filter-box {
        background: #fff;
        border-radius: 10px;
        padding: 18px;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    }

    /* Verified badge */
    .verified {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        color: #000;
        background: #f3f3f3;
        padding: 6px 12px;
        border-radius: 18px;
        font-size: 14px;
        font-weight: 500;
    }

    /* Institute Card */
    .inst-card {
        background: #fff;
        border-radius: 12px;
        padding: 16px 20px;
        margin: 0 auto 18px 0;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
        max-width: 800px;
        width: 100%;

    }

    .inst-photo {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid #eee;
    }

    h6.institute-name {
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 6px;
    }

    p.inst-location {
        font-size: 14px;
        color: #444;
        margin-bottom: 6px;
    }

    .btn-view {
        background-color: #13718a;
        color: #fff;
        border-radius: 30px;
        padding: 6px 16px;
        font-weight: 600;
        font-size: 14px;
        border: none;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
        /* smooth hover animation */
    }

    .btn-view:hover,
    .btn-view:focus,
    .btn-view:active {
        background-color: #13718a !important;
        /* keep same color */
        color: #fff !important;
        transform: scale(1.06);
        /* zoom slightly */
        box-shadow: 0 4px 10px rgba(19, 113, 138, 0.3);
        /* optional glow effect */
        outline: none !important;
    }

   /* === Search Bar Container === */
.search-bar {
  display: flex;
  justify-content: flex-end;
  flex: 1;
  max-width: 400px;      /* 👈 same width as institute cards */
  width: 100%;
}

/* === Search Input === */
.search-bar .form-control {
  border-radius: 30px 0 0 30px;
  padding: 10px 16px;
  border: 1px solid #e0e0e0;
  height: 44px;
  font-size: 15px;
}

/* === Search Button === */
.search-bar .btn {
  border-radius: 0 30px 30px 0;
  background: #0989ff;
  color: #fff;
  font-weight: 600;
  padding: 8px 18px;
  border: none;
  height: 44px;
  transition: transform 0.1s ease;
}

.search-bar .btn:hover,
.search-bar .btn:focus,
.search-bar .btn:active {
  background: #0989ff !important;
  color: #fff !important;
  outline: none !important;
  box-shadow: none !important;
  transform: scale(0.97); /* small press effect */
}

/* === Responsive (Mobile View) === */
@media (max-width: 768px) {
  .top-row {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 20px;
    padding-right: 20px;
  }

  .search-bar {
    width: 100%;           /* Full width on mobile */
    max-width: 100%;
    margin-top: 10px;
  }

  .search-bar .form-control,
  .search-bar .btn {
    height: 46px;
  }
}

    /* Filter button */
    #filterBtn {
        display: none;
        background: #c24a0c;
        color: #fff;
        border: none;
        padding: 10px 20px;
        border-radius: 25px;
        font-weight: 600;
        position: relative;
        z-index: 10;
    }

    #filterBtn i {
        margin-right: 6px;
    }
/* === Top Row: Count + Search alignment === */
.top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding-left: 60px;   /* 👈 Aligns search bar & card same from left */
  padding-right: 60px;  /* 👈 Aligns same from right side */
}

    .container-fluid {
        padding-left: 80px;
        /* move content closer to left edge */
        padding-right: 20px;
        /* more space on right side */
        transition: all 0.3s ease;
    }


    /* Pagination */
    .pagination .page-link {
        border-radius: 50%;
        color: #13718a;
    }

    .pagination .active .page-link {
        background: #13718a;
        color: #fff;
        border-color: #13718a;
    }

    /* Responsive (mobile behavior) */
    @media (max-width: 768px) {
        .container-fluid {
            padding-left: 15px;
            padding-right: 15px;
        }

        /* Hide sidebar filter */
        #filters {
            display: none;
        }

        /* Show mobile button */
        #filterBtn {
            display: inline-block;
            margin-bottom: 10px;
        }

        /* Filter box on mobile */
        #mobileFilters {
            display: none;
            position: relative;
            z-index: 9;
            animation: slideDown 0.3s ease;
        }

        #mobileFilters.show {
            display: block;
        }
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @media (max-width: 768px) {
        .inst-card {
            max-width: 100%;
            padding: 14px;
        }
    }

    /* Align 'View Details' button slightly lower — inline with Verified badge */
.inst-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* default */
}

/* Move button down a bit */
.inst-card .btn-view {
  margin-top: 24px; /* 👈 adjust this value to move button lower */
}

/* Optional: For smaller screens, keep spacing clean */
@media (max-width: 768px) {
  .inst-card {
    flex-direction: column; /* stack for mobile */
    align-items: flex-start;
  }

  .inst-card .btn-view {
    margin-top: 10px; /* smaller gap for phone view */
  }
}
